Package zombie.config
Class EnumConfigOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.IntegerConfigOption
zombie.config.EnumConfigOption
- Direct Known Subclasses:
SandboxOptions.EnumSandboxOption
public class EnumConfigOption extends IntegerConfigOption
-
Field Summary
Fields inherited from class zombie.config.IntegerConfigOption
defaultValue, max, min, value
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
Constructors Constructor Description EnumConfigOption(java.lang.String string, int int1, int int2)
-
Method Summary
Modifier and Type Method Description int
getNumValues()
java.lang.String
getType()
Methods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getValue, getValueAsObject, getValueAsString, isValidString, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObject
Methods inherited from class zombie.config.ConfigOption
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EnumConfigOption
public EnumConfigOption(java.lang.String string, int int1, int int2)
-
-
Method Details
-
getType
public java.lang.String getType()- Overrides:
getType
in classIntegerConfigOption
-
getNumValues
public int getNumValues()
-