Package coneforest.cli
Class OptionToggle
java.lang.Object
coneforest.cli.Option
coneforest.cli.OptionWithoutArg
coneforest.cli.OptionToggle
Class representing a toggle. Boolean option value, initially false, toggles
every time when option is processed.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OptionToggle
-
-
Method Details
-
getValue
Returns the current option value. -
handle
public void handle()Toggles option value.- Specified by:
handle
in classOptionWithoutArg
-