Package de.hsh.graja.util.cli
Class BooleanOption
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
Converts a string-typed argument to the type represented by this DataType.void
setOppositeName
(String oppositeName) Methods inherited from class de.hsh.graja.util.cli.Option
getDefaultValue, getDescription, getMandatory, getMeaning, getName, getValidValues, isMandatory, setDefaultValue, setDescription, setMandatory, setMeaning, setName, setValidValues, toString
-
Constructor Details
-
BooleanOption
public BooleanOption()
-
-
Method Details
-
getOppositeName
-
setOppositeName
-
convertImpl
Description copied from class:Option
Converts a string-typed argument to the type represented by this DataType. No validation against valid values will happen.- Specified by:
convertImpl
in classOption<Boolean>
- Returns:
- converted value
- Throws:
InvalidValueException
-