Package com.booksaw.betterTeams.team
Enum Class AnchoredPlayerUUIDSetComponent.AnchorResult
java.lang.Object
java.lang.Enum<AnchoredPlayerUUIDSetComponent.AnchorResult>
com.booksaw.betterTeams.team.AnchoredPlayerUUIDSetComponent.AnchorResult
- All Implemented Interfaces:
Serializable
,Comparable<AnchoredPlayerUUIDSetComponent.AnchorResult>
,Constable
- Enclosing class:
- AnchoredPlayerUUIDSetComponent
public static enum AnchoredPlayerUUIDSetComponent.AnchorResult
extends Enum<AnchoredPlayerUUIDSetComponent.AnchorResult>
The result of using the add and remove methods of this enum's enclosing class
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe player is already anchoredThe player is not anchoredThe player is not in the teamThe operation was successful -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
The operation was successful -
NOT_IN_TEAM
The player is not in the team -
ALREADY_ANCHORED
The player is already anchored -
NOT_ANCHORED
The player is not anchored
-
-
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
-