- All Superinterfaces:
Option
- All Known Implementing Classes:
VerboseOption
- Enclosing interface:
- Option
A boolean option that is either not present or
true
or false
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.sormuras.bach.command.Option
Option.Flag, Option.Value<T>, Option.Values<T>
-
Method Summary
-
Method Details
-
value
Returns the state of this flag.- Returns:
- the state of this flag
-
isTrue
Returnstrue
iff the backing value is present and true, elsefalse
.- Returns:
true
iff the backing value is present and true, elsefalse
-