Package org.dreambot.api.data
Enum LevelUpNotificationMode
- java.lang.Object
-
- java.lang.Enum<LevelUpNotificationMode>
-
- org.dreambot.api.data.LevelUpNotificationMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LevelUpNotificationMode>
public enum LevelUpNotificationMode extends java.lang.Enum<LevelUpNotificationMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDLEVEL_AND_UNLOCKSLEVEL_ONLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetOption()static LevelUpNotificationModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LevelUpNotificationMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final LevelUpNotificationMode DISABLED
-
LEVEL_ONLY
public static final LevelUpNotificationMode LEVEL_ONLY
-
LEVEL_AND_UNLOCKS
public static final LevelUpNotificationMode LEVEL_AND_UNLOCKS
-
-
Method Detail
-
values
public static LevelUpNotificationMode[] 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 (LevelUpNotificationMode c : LevelUpNotificationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LevelUpNotificationMode valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getOption
public java.lang.String getOption()
-
-