Modifier and Type | Interface | Description |
---|---|---|
interface |
Switch |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractOption<T> |
The
AbstractOption is an abstract implementation of an Option
providing the boiler plate when implementing the Option interface. |
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 |
QuietSwitchImpl |
A predefined "be quiet" switch.
|
class |
StringOptionImpl |
The Class StringOptionImpl.
|
class |
SwitchImpl |
The
SwitchImpl class implements the Switch interface. |
class |
SysInfoSwitchImpl |
A predefined system information switch.
|
class |
VerboseSwitchImpl |
A predefined verbose switch.
|
Modifier and Type | Method | Description |
---|---|---|
static <T extends Enum<T>> |
ConsoleSugar.enumOption(String aShortOption,
String aLongOption,
Class<T> aType,
String aAlias,
String aDescription) |
Enum option.
|
static Option<Integer> |
ConsoleSugar.intOption(String aShortOption,
String aLongOption,
String aAlias,
String aDescription) |
Int option.
|
static Option<String> |
ConsoleSugar.stringOption(String aShortOption,
String aLongOption,
String aAlias,
String aDescription) |
String option.
|
Modifier and Type | Method | Description |
---|---|---|
static org.refcodes.structure.Relation<String,String> |
ConsoleUtility.getOptionArgument(Option<?> aOption,
String[] args) |
Copyright © 2018. All rights reserved.