|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GiveKitContext>
com.amoebaman.kitmaster.enums.GiveKitContext
public enum GiveKitContext
| Enum Constant Summary | |
|---|---|
COMMAND_GIVEN
The kit was given by an admin using the /givekit command. |
|
COMMAND_TAKEN
The kit was taken by the player using the /kit command. |
|
PARENT_GIVEN
The kit was given because it was the parent kit of another kit. |
|
PLUGIN_GIVEN
The kit was given by a 3rd party plugin. |
|
PLUGIN_GIVEN_OVERRIDE
The kit was given by a 3rd party plugin, and will override any permission or timeout checks. |
|
SIGN_TAKEN
The kit was taken by the player by punching a kit selection sign. |
|
| Field Summary | |
|---|---|
boolean |
overrides
Whether or not the context will automatically override permissions and timeout checks. |
| Method Summary | |
|---|---|
static GiveKitContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GiveKitContext[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GiveKitContext COMMAND_GIVEN
public static final GiveKitContext PARENT_GIVEN
public static final GiveKitContext PLUGIN_GIVEN
public static final GiveKitContext PLUGIN_GIVEN_OVERRIDE
public static final GiveKitContext COMMAND_TAKEN
public static final GiveKitContext SIGN_TAKEN
| Field Detail |
|---|
public final boolean overrides
| Method Detail |
|---|
public static GiveKitContext[] values()
for (GiveKitContext c : GiveKitContext.values()) System.out.println(c);
public static GiveKitContext valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||