Package com.headius.options
Class IntegerOption
- java.lang.Object
-
- com.headius.options.Option<java.lang.Integer>
-
- com.headius.options.IntegerOption
-
public class IntegerOption extends Option<java.lang.Integer>
An Integer-based Option.
-
-
Constructor Summary
Constructors Constructor Description IntegerOption(java.lang.String longName, java.lang.Enum category, java.lang.Integer[] options, java.lang.Integer defval, java.lang.String description)
IntegerOption(java.lang.String longName, java.lang.Enum category, java.lang.Integer defval, java.lang.String description)
IntegerOption(java.lang.String prefix, java.lang.String name, java.lang.Enum category, java.lang.Integer[] options, java.lang.Integer defval, java.lang.String description)
IntegerOption(java.lang.String prefix, java.lang.String name, java.lang.Enum category, java.lang.Integer defval, java.lang.String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
reloadValue()
Perform 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 Detail
-
IntegerOption
public IntegerOption(java.lang.String prefix, java.lang.String name, java.lang.Enum category, java.lang.Integer[] options, java.lang.Integer defval, java.lang.String description)
-
IntegerOption
public IntegerOption(java.lang.String longName, java.lang.Enum category, java.lang.Integer[] options, java.lang.Integer defval, java.lang.String description)
-
IntegerOption
public IntegerOption(java.lang.String prefix, java.lang.String name, java.lang.Enum category, java.lang.Integer defval, java.lang.String description)
-
IntegerOption
public IntegerOption(java.lang.String longName, java.lang.Enum category, java.lang.Integer defval, java.lang.String description)
-
-
Method Detail
-
reloadValue
public java.lang.Integer reloadValue()
Description copied from class:Option
Perform the appropriate load and conversion for the option's property.- Specified by:
reloadValue
in classOption<java.lang.Integer>
-
-