Package | Description |
---|---|
org.refcodes.console |
Getting started:
Consider you have a tool called "foo-bar" to be invoked with the below
allowed argument combinations (syntax):
foo-bar [{ -a | -d }] -f <file>
"foo-bar" must be invoked either with an optional "-a" or with an optional
"-d" switch, but not both of them at the same time, and a file must be
provided, else the passed arguments are rejected as not being valid.
|
org.refcodes.console.impls |
Implementations:
The
impls package contains implementations of the types defined
by this artifact. |
org.refcodes.console.utils |
Utilities:
A utility class from this artifact's point of view provides functionality nor
requiring any state neither any member variables.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Switch
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractOption<T>
The
AbstractOption is an abstract implementation of an Option
providing the boiler plate when implementing the Option interface. |
class |
ForceSwitchImpl
A predefined force switch.
|
class |
HelpSwitchImpl
A predefined help switch.
|
class |
QuietSwitchImpl
A predefined "be quiet" switch.
|
class |
StringOptionImpl |
class |
SwitchImpl |
class |
VerboseSwitchImpl
A predefined verbose switch.
|
Modifier and Type | Method and Description |
---|---|
static org.refcodes.mixin.mixins.AttributeAccessor<String,String> |
ConsoleUtility.getOptionArgument(Option<?> aOption,
String[] args)
|
Copyright © 2015. All rights reserved.