Package zombie.config
Class StringConfigOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.StringConfigOption
- Direct Known Subclasses:
SandboxOptions.StringSandboxOption
,ServerOptions.StringServerOption
,ServerOptions.TextServerOption
-
Field Summary
Fields inherited from class zombie.config.ConfigOption
name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
getValue()
boolean
isValidString
(String string) void
void
void
void
void
setValueFromObject
(Object object) Methods inherited from class zombie.config.ConfigOption
getName
-
Field Details
-
value
-
defaultValue
-
maxLength
protected int maxLength
-
-
Constructor Details
-
StringConfigOption
-
-
Method Details
-
getType
- Specified by:
getType
in classConfigOption
-
resetToDefault
public void resetToDefault()- Specified by:
resetToDefault
in classConfigOption
-
setDefaultToCurrentValue
public void setDefaultToCurrentValue()- Specified by:
setDefaultToCurrentValue
in classConfigOption
-
parse
- Specified by:
parse
in classConfigOption
-
getValueAsString
- Specified by:
getValueAsString
in classConfigOption
-
getValueAsLuaString
- Overrides:
getValueAsLuaString
in classConfigOption
-
setValueFromObject
- Specified by:
setValueFromObject
in classConfigOption
-
getValueAsObject
- Specified by:
getValueAsObject
in classConfigOption
-
isValidString
- Specified by:
isValidString
in classConfigOption
-
setValue
-
getValue
-
getDefaultValue
-
getTooltip
- Specified by:
getTooltip
in classConfigOption
-