Package com.hazebyte.crate.api.result
Enum RewardExecutorResult
- java.lang.Object
-
- java.lang.Enum<RewardExecutorResult>
-
- com.hazebyte.crate.api.result.RewardExecutorResult
-
- All Implemented Interfaces:
Serializable
,Comparable<RewardExecutorResult>
public enum RewardExecutorResult extends Enum<RewardExecutorResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMANDS_EXECUTED
ITEMS_DROPPED_TO_WORLD
ITEMS_GIVEN_TO_PLAYER
ITEMS_SENT_TO_CLAIM
MESSAGES_EXECUTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RewardExecutorResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static RewardExecutorResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ITEMS_GIVEN_TO_PLAYER
public static final RewardExecutorResult ITEMS_GIVEN_TO_PLAYER
-
ITEMS_SENT_TO_CLAIM
public static final RewardExecutorResult ITEMS_SENT_TO_CLAIM
-
ITEMS_DROPPED_TO_WORLD
public static final RewardExecutorResult ITEMS_DROPPED_TO_WORLD
-
COMMANDS_EXECUTED
public static final RewardExecutorResult COMMANDS_EXECUTED
-
MESSAGES_EXECUTED
public static final RewardExecutorResult MESSAGES_EXECUTED
-
-
Method Detail
-
values
public static RewardExecutorResult[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RewardExecutorResult c : RewardExecutorResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RewardExecutorResult valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-