Uses of Interface
org.refcodes.console.SyntaxUsage
-
-
Uses of SyntaxUsage in org.refcodes.console
Subinterfaces of SyntaxUsage in org.refcodes.console Modifier and Type Interface Description interface
Condition
TheCondition
interface represents a node in the command line arguments syntax tree; simply extending theSyntaxable
interface and adding the functionality of providing access to the addedOperand
s (leafs).interface
Operand<T>
AnOperand
represents a value parsed from command line arguments.interface
Option<T>
AnOption
represents a command line option with the according option's value.interface
Syntaxable
ASyntaxable
defines the methods at least required when building a command line arguments syntax tree for traversing the syntax tree; either for parsing command line arguments or for constructing the command line arguments syntax.Classes in org.refcodes.console that implement SyntaxUsage Modifier and Type Class Description class
AbstractCondition
TheAbstractCondition
is an abstract implementation of anCondition
providing the boiler plate when implementing theCondition
interface.class
AbstractOperand<T>
TheAbstractOperand
is an abstract implementation of anOperand
providing the boiler plate when implementing theOperand
interface.class
AbstractOption<T>
TheAbstractOption
is an abstract implementation of anOption
providing the boiler plate when implementing theOption
interface.class
AndCondition
AnAndCondition
contains (represents) a list ofCondition
(Syntaxable
) instances (nested by theAndCondition
) of which all are to be parsed successfully as of invoking theSyntaxable.parseArgs(String[], String[])
methods.class
DebugFlag
A predefined debug switch.class
EnumOption<T extends java.lang.Enum<T>>
The Class EnumOption.class
FileOption
class
Flag
class
ForceFlag
A predefined force switch.class
HelpFlag
A predefined help switch.class
IntegerOption
class
LongOption
class
OptionalCondition
TheOptionalCondition
can nested by anAndCondition
and encapsulates aCondition
which may be provided but does not necessarily needs to be provided in order for theAndCondition
to successfully parse the nestedCondition
items including theOptionalCondition
.class
OrCondition
AnOrCondition
represents a list ofCondition
(Syntaxable
) instances of which at least one must be parsed successfully when theSyntaxable
s'Syntaxable.parseArgs(String[], String[])
methods are invoked.class
QuietFlag
A predefined "be quiet" switch.class
StringOperand
AnOperand
(neither a short option nor a long option prepended nor being a switch) being sString
.class
StringOption
class
SysInfoFlag
A predefined system information switch.class
VerboseFlag
A predefined verbose switch.class
XorCondition
AnXorCondition
represents a list ofCondition
(Syntaxable
) instances of which only one is allowed to be parsed successfully when theSyntaxable.parseArgs(String[], String[])
methods are invoked.
-