Uses of Interface
org.refcodes.console.Syntaxable
-
-
Uses of Syntaxable in org.refcodes.console
Subinterfaces of Syntaxable 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.Classes in org.refcodes.console that implement Syntaxable 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
represents a list ofSyntaxable
instances of which all are be parsed successfully when theSyntaxable
s'parseArgs(String[])
methods are invoked.class
DebugFlag
A predefined debug switch.class
EnumOption<T extends java.lang.Enum<T>>
The Class EnumOption.class
Flag
class
ForceFlag
A predefined force switch.class
HelpFlag
A predefined help switch.class
IntegerOption
The Class IntegerOption.class
LongOption
The Class LongOption.class
OptionalCondition
The Class OptionalCondition.class
OrCondition
AnOrCondition
represents a list ofSyntaxable
instances of which at least one must be parsed successfully when theSyntaxable
s'parseArgs(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
The Class StringOption.class
SysInfoFlag
A predefined system information switch.class
VerboseFlag
A predefined verbose switch.class
XorCondition
AnXorCondition
represents a list ofSyntaxable
instances of which only one is allowed to be parsed successfully when theSyntaxable
s'parseArgs(String[])
methods are invoked.Methods in org.refcodes.console that return types with arguments of type Syntaxable Modifier and Type Method Description protected java.util.List<Syntaxable>
AbstractCondition. getChildren()
Gets the children.Methods in org.refcodes.console with parameters of type Syntaxable Modifier and Type Method Description protected void
AbstractCondition. addChild(Syntaxable aArgumentizer)
Adds the child.static Condition
ConsoleSugar. and(Syntaxable... aArgs)
And.static Condition
ConsoleSugar. optional(Syntaxable... aArg)
Optional.static Condition
ConsoleSugar. or(Syntaxable... aArgs)
Or.static Condition
ConsoleSugar. xor(Syntaxable... aArgs)
Xor.Constructors in org.refcodes.console with parameters of type Syntaxable Constructor Description AbstractCondition(Syntaxable... aElements)
Instantiates a new abstract condition.AndCondition(Syntaxable... aArgs)
Instantiates a new and condition impl.OptionalCondition(Syntaxable... aSyntaxable)
Instantiates a new optional condition impl.OrCondition(Syntaxable... aArgs)
Instantiates a new or condition impl.XorCondition(Syntaxable... aArgs)
Instantiates a new xor condition impl.
-