com.headius.options
Class BooleanOption

java.lang.Object
  extended by com.headius.options.Option<Boolean>
      extended by com.headius.options.BooleanOption

public class BooleanOption
extends Option<Boolean>

A Boolean-based Option.


Field Summary
 
Fields inherited from class com.headius.options.Option
defval, type
 
Constructor Summary
BooleanOption(String longName, Enum category, Boolean defval, String description)
           
BooleanOption(String prefix, String name, Enum category, Boolean defval, String description)
           
 
Method Summary
protected  Boolean 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

BooleanOption

public BooleanOption(String prefix,
                     String name,
                     Enum category,
                     Boolean defval,
                     String description)

BooleanOption

public BooleanOption(String longName,
                     Enum category,
                     Boolean defval,
                     String description)
Method Detail

reloadValue

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

Specified by:
reloadValue in class Option<Boolean>


Copyright © 2014. All Rights Reserved.