Enum Class StargateProtocolProperty
- All Implemented Interfaces:
Serializable
,Comparable<StargateProtocolProperty>
,Constable
An enum containing all actions in the Stargate plugin message protocol
- Author:
- Thorin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe network name property of a requestThe new name of the networkThe new name of the portalThe portal owner property of a requestThe player name property of a requestThe portal name property of a requestThe enabled portal flags property of a requestThe protocol message type used for this requestThe server name property of a request -
Method Summary
Modifier and TypeMethodDescriptionstatic StargateProtocolProperty
Returns the enum constant of this class with the specified name.static StargateProtocolProperty[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NETWORK
The network name property of a request -
PORTAL
The portal name property of a request -
PLAYER
The player name property of a request -
SERVER
The server name property of a request -
REQUEST_TYPE
The protocol message type used for this request -
PORTAL_FLAG
The enabled portal flags property of a request -
OWNER
The portal owner property of a request -
NEW_NETWORK_NAME
The new name of the network -
NEW_PORTAL_NAME
The new name of the portal
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-