Package com.pnfsoftware.jeb.core
Class BooleanOptionDefinition
java.lang.Object
com.pnfsoftware.jeb.core.OptionDefinition
com.pnfsoftware.jeb.core.BooleanOptionDefinition
- All Implemented Interfaces:
IOptionDefinition,ITypedOptionDefinition
Boolean option description used by property definition managers. Allow true/false values. Use
Boolean.valueOf(String) for conversion.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.pnfsoftware.jeb.core.ITypedOptionDefinition
ITypedOptionDefinition.Type -
Constructor Summary
ConstructorsConstructorDescriptionBooleanOptionDefinition(String name, boolean defaultValue, String description) Create a boolean option definition. -
Method Summary
Methods inherited from class com.pnfsoftware.jeb.core.OptionDefinition
getDefaultValue, getDescription, getNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.IOptionDefinition
getDefaultValue, getDescription, getName
-
Constructor Details
-
BooleanOptionDefinition
Create a boolean option definition.- Parameters:
name- option namedefaultValue- default boolean valuedescription- option description
-
-
Method Details
-
getOptions
Unused- Specified by:
getOptionsin interfaceITypedOptionDefinition- Overrides:
getOptionsin classOptionDefinition- Returns:
- null
-
getType
Get the option type.- Specified by:
getTypein interfaceITypedOptionDefinition- Overrides:
getTypein classOptionDefinition- Returns:
ITypedOptionDefinition.Type.Checkbox
-