Enum Class ScriptCategory
- All Implemented Interfaces:
Serializable, Comparable<ScriptCategory>, Constable
Categories for classifying
BotScript implementations.
Used in ScriptManifest.category() to group scripts in the UI.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFiremaking training.Magic training: alching, enchanting and other spell-based skilling. -
Method Summary
Modifier and TypeMethodDescriptionReturns the human-readable display name for this category.static ScriptCategoryReturns the enum constant of this class with the specified name.static ScriptCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
UNCATEGORIZED
-
SKILLING
-
COMBAT
-
FISHING
-
MINING
-
WOODCUTTING
-
AGILITY
-
COOKING
-
CRAFTING
-
FARMING
-
HERBLORE
-
HUNTER
-
PRAYER
-
RUNECRAFTING
-
SLAYER
-
SMITHING
-
THIEVING
-
FLETCHING
-
CONSTRUCTION
-
DIVINATION
-
INVENTION
-
ARCHAEOLOGY
-
NECROMANCY
-
SUMMONING
-
DUNGEONEERING
-
FIREMAKING
Firemaking training.Added in a later
bot-apirelease than most categories. A host built before it existed cannot read a manifest that declares it, so a script that does needs a host at least as new as the API it compiled against. -
MAGIC
Magic training: alching, enchanting and other spell-based skilling. Making runes stays underRUNECRAFTING.Added in a later
bot-apirelease than most categories, with the same caveat asFIREMAKING: a host built before it existed cannot read a manifest that declares it. -
MINIGAME
-
MONEYMAKING
-
QUESTING
-
UTILITY
-
OTHER
-
-
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
-
getDisplayName
Returns the human-readable display name for this category.- Returns:
- the display name
-