com.headius.options
Class IntegerOption

java.lang.Object
  extended by com.headius.options.Option<Integer>
      extended by com.headius.options.IntegerOption

public class IntegerOption
extends Option<Integer>

An Integer-based Option.


Field Summary
 
Fields inherited from class com.headius.options.Option
defval, type
 
Constructor Summary
IntegerOption(String longName, Enum category, Integer[] options, Integer defval, String description)
           
IntegerOption(String longName, Enum category, Integer defval, String description)
           
IntegerOption(String prefix, String name, Enum category, Integer[] options, Integer defval, String description)
           
IntegerOption(String prefix, String name, Enum category, Integer defval, String description)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerOption

public IntegerOption(String prefix,
                     String name,
                     Enum category,
                     Integer[] options,
                     Integer defval,
                     String description)

IntegerOption

public IntegerOption(String longName,
                     Enum category,
                     Integer[] options,
                     Integer defval,
                     String description)

IntegerOption

public IntegerOption(String prefix,
                     String name,
                     Enum category,
                     Integer defval,
                     String description)

IntegerOption

public IntegerOption(String longName,
                     Enum category,
                     Integer defval,
                     String description)
Method Detail

reloadValue

public Integer reloadValue()
Description copied from class: Option
Perform the appropriate load and conversion for the option's property.

Specified by:
reloadValue in class Option<Integer>


Copyright © 2014. All Rights Reserved.