Modifier and Type | Interface and Description |
---|---|
interface |
Condition
The
Condition interface represents a node in the command line
arguments syntax tree; simply extending the Syntaxable interface and
adding the functionality of providing access to the added Operand s
(leafs). |
interface |
Operand<T>
An
Operand represents a value parsed from command line arguments. |
interface |
Option<T>
An
Option represents a command line option with the according
option's value. |
interface |
Switch
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCondition
The
AbstractCondition is an abstract implementation of an
Condition providing the boiler plate when implementing the
Condition interface. |
class |
AbstractOperand<T>
The
AbstractOperand is an abstract implementation of an
Operand providing the boiler plate when implementing the
Operand interface. |
class |
AbstractOption<T>
The
AbstractOption is an abstract implementation of an Option
providing the boiler plate when implementing the Option interface. |
class |
AndConditionImpl
An
AndConditionImpl represents a list of Syntaxable instances
of which all are be parsed successfully when the Syntaxable s'
parseArgs(String[]) methods are invoked. |
class |
EnumOptionImpl<T extends Enum<T>>
The Class EnumOptionImpl.
|
class |
ForceSwitchImpl
A predefined force switch.
|
class |
HelpSwitchImpl
A predefined help switch.
|
class |
IntegerOptionImpl
The Class IntegerOptionImpl.
|
class |
OptionalConditionImpl
The Class OptionalConditionImpl.
|
class |
OrConditionImpl
An
OrConditionImpl represents a list of Syntaxable instances
of which at least one must be parsed successfully when the Syntaxable
s' parseArgs(String[]) methods are invoked. |
class |
QuietSwitchImpl
A predefined "be quiet" switch.
|
class |
StringOperandImpl
|
class |
StringOptionImpl
The Class StringOptionImpl.
|
class |
SwitchImpl
The Class SwitchImpl.
|
class |
SysInfoSwitchImpl
A predefined system information switch.
|
class |
VerboseSwitchImpl
A predefined verbose switch.
|
class |
XorConditionImpl
An
XorConditionImpl represents a list of Syntaxable instances
of which only one is allowed to be parsed successfully when the
Syntaxable s' parseArgs(String[]) methods are
invoked. |
Modifier and Type | Method and Description |
---|---|
protected List<Syntaxable> |
AbstractCondition.getChildren()
Gets the children.
|
Modifier and Type | Method and 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.
|
Constructor and 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.
|
Copyright © 2017. All rights reserved.