Package org.rspeer.game.script.meta
Enum ScriptCategory
- java.lang.Object
-
- java.lang.Enum<ScriptCategory>
-
- org.rspeer.game.script.meta.ScriptCategory
-
- All Implemented Interfaces:
Serializable,Comparable<ScriptCategory>
public enum ScriptCategory extends Enum<ScriptCategory>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScriptCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static ScriptCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SKILLING
public static final ScriptCategory SKILLING
-
COMBAT
public static final ScriptCategory COMBAT
-
IRONMAN
public static final ScriptCategory IRONMAN
-
MONEY_MAKING
public static final ScriptCategory MONEY_MAKING
-
QUESTING
public static final ScriptCategory QUESTING
-
UTILITY
public static final ScriptCategory UTILITY
-
BOSSING
public static final ScriptCategory BOSSING
-
-
Method Detail
-
values
public static ScriptCategory[] 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 (ScriptCategory c : ScriptCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScriptCategory 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
-
-