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, valueFields inherited from class zombie.config.ConfigOption
name -
Constructor Summary
Constructors Constructor Description EnumConfigOption(java.lang.String name, int numValues, int defaultValue) -
Method Summary
Modifier and Type Method Description intgetNumValues()java.lang.StringgetType()Methods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getValue, getValueAsObject, getValueAsString, isValidString, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObjectMethods inherited from class zombie.config.ConfigOption
getNameMethods 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 name, int numValues, int defaultValue)
-
-
Method Details
-
getType
public java.lang.String getType()- Overrides:
getTypein classIntegerConfigOption
-
getNumValues
public int getNumValues()
-