java.lang.Object
coneforest.clianthus.option.Option
coneforest.clianthus.option.OptionWithoutArg
coneforest.clianthus.option.OptionToggle
A toggle option. Boolean option value, initially false, toggles every time
when option is processed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OptionToggle
Creates new option with given names.- Parameters:
names
- space-delimited names.
-
-
Method Details
-
getValue
Returns the current option value. -
handle
public void handle()Toggles option value.- Specified by:
handle
in classOptionWithoutArg
-