Package com.headius.options
Class BooleanOption
A Boolean-based Option.
Unlike the other options, if a boolean property is specified but is blank,
it is considered an "on" switch and a true value.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleanPerform the appropriate load and conversion for the option's property.Methods inherited from class com.headius.options.Option
bool, bool, bool, bool, defaultValue, description, displayName, enumeration, enumeration, enumeration, enumeration, force, formatOptions, formatOptions, formatValues, formatValues, integer, integer, integer, integer, integer, integer, integer, integer, isSpecified, load, loadProperty, options, prefix, propertyName, reload, shortName, string, string, string, string, string, string, string, string, toString, type, unforce
-
Constructor Details
-
BooleanOption
-
BooleanOption
-
-
Method Details
-
reloadValue
Description copied from class:OptionPerform the appropriate load and conversion for the option's property.- Specified by:
reloadValuein classOption<Boolean>- Returns:
- the updated value after reload
-