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
Flag
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
AndConditionImpl
AnAndConditionImpl
represents a list ofSyntaxable
instances of which all are be parsed successfully when theSyntaxable
s'parseArgs(String[])
methods are invoked.class
EnumOptionImpl<T extends java.lang.Enum<T>>
The Class EnumOptionImpl.class
FlagImpl
class
ForceFlagImpl
A predefined force switch.class
HelpFlagImpl
A predefined help switch.class
IntegerOptionImpl
The Class IntegerOptionImpl.class
OptionalConditionImpl
The Class OptionalConditionImpl.class
OrConditionImpl
AnOrConditionImpl
represents a list ofSyntaxable
instances of which at least one must be parsed successfully when theSyntaxable
s'parseArgs(String[])
methods are invoked.class
QuietFlagImpl
A predefined "be quiet" switch.class
StringOperandImpl
AnOperand
(neither a short option nor a long option prepended nor being a switch) being sString
.class
StringOptionImpl
The Class StringOptionImpl.class
SysInfoFlagImpl
A predefined system information switch.class
VerboseFlagImpl
A predefined verbose switch.class
XorConditionImpl
AnXorConditionImpl
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.AndConditionImpl(Syntaxable... aArgs)
Instantiates a new and condition impl.OptionalConditionImpl(Syntaxable... aSyntaxable)
Instantiates a new optional condition impl.OrConditionImpl(Syntaxable... aArgs)
Instantiates a new or condition impl.XorConditionImpl(Syntaxable... aArgs)
Instantiates a new xor condition impl.
-