Uses of Interface
org.refcodes.cli.ArgsAccessor
-
-
Uses of ArgsAccessor in org.refcodes.cli
Subinterfaces of ArgsAccessor in org.refcodes.cli Modifier and Type Interface Description static interface
ArgsAccessor.ArgsProperty
Provides a args property.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.cli that implement ArgsAccessor Modifier and Type Class Description 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
AmbiguousArgsException
Thrown in case the command line arguments do not match the required syntax.class
ArgsSyntaxException
Thrown in case of a command line arguments mismatch regarding provided and expected args.class
ArrayOperand<T>
Creates an array representation facade for the encapsulatedOperand
.class
ArrayOption<T>
Creates an array representation facade for the encapsulatedOption
.class
CharOption
class
CleanFlag
A predefined cleanFlag
: A predefinedFlag
gives itsCleanFlag.SHORT_OPTION
, itsCleanFlag.LONG_OPTION
as well as itsCleanFlag.ALIAS
an according semantics regarded by other subsystems.static class
CliException.ConsoleArgsException
This abstract exception is the base exception for all command line argument related exceptions.class
ConfigOption
TheConfigOption
represents anOption
holding a value specifying a configuration resource (file).class
DaemonFlag
A predefined daemonFlag
: A predefinedFlag
gives itsDaemonFlag.SHORT_OPTION
, itsDaemonFlag.LONG_OPTION
as well as itsDaemonFlag.ALIAS
an according semantics regarded by other subsystems.class
DebugFlag
A predefined debugFlag
: A predefinedFlag
gives itsDebugFlag.SHORT_OPTION
, itsDebugFlag.LONG_OPTION
as well as itsDebugFlag.ALIAS
an according semantics regarded by other subsystems.class
DoubleOption
class
EnumOption<T extends Enum<T>>
The Class EnumOption.class
FileOption
class
Flag
TheFlag
class implements theOption
interface for representing either atrue
or afalse
state: When a flag is provided to your command line arguments, then it is considered to betrue
, when it is omitted, then it is considered to befalse
as ofFlag.isEnabled()
.class
FloatOption
class
ForceFlag
A predefined forceFlag
: A predefinedFlag
gives itsForceFlag.SHORT_OPTION
, itsForceFlag.LONG_OPTION
as well as itsForceFlag.ALIAS
an according semantics regarded by other subsystems.class
HelpFlag
A predefined helpFlag
: A predefinedFlag
gives itsHelpFlag.SHORT_OPTION
, itsHelpFlag.LONG_OPTION
as well as itsHelpFlag.ALIAS
an according semantics regarded by other subsystems.class
InitFlag
A predefined initFlag
: A predefinedFlag
gives itsInitFlag.SHORT_OPTION
, itsInitFlag.LONG_OPTION
as well as itsInitFlag.ALIAS
an according semantics regarded by other subsystems.class
IntOption
class
LongOption
class
NoneOperand
TheNoneOperand
represents an empty set of arguments, e.g. no command line argument is being passed.class
Operation
TheOperation
is an argument representing a function or a method ("command") and is either provided or not provided as ofOperation.isEnabled()
.class
ParseArgsException
Thrown in case the provided command line arguments do not respect the required semantics or cannot be converted to the required type.class
QuietFlag
A predefined "be quiet"Flag
: A predefinedFlag
gives itsQuietFlag.SHORT_OPTION
, itsQuietFlag.LONG_OPTION
as well as itsQuietFlag.ALIAS
an according semantics regarded by other subsystems.class
StringOperand
class
StringOption
class
SuperfluousArgsException
Thrown in case there were arguments found not being used (superfluous arguments).class
SysInfoFlag
A predefined system informationFlag
: A predefinedFlag
gives itsSysInfoFlag.SHORT_OPTION
, itsSysInfoFlag.LONG_OPTION
as well as itsSysInfoFlag.ALIAS
an according semantics regarded by other subsystems..class
UnknownArgsException
Thrown in case command line arguments were not processed (did not match the expected arguments), e.g. the arguments were rejected as them did not work for the according syntax.class
VerboseFlag
A predefined verboseFlag
: A predefinedFlag
gives itsVerboseFlag.SHORT_OPTION
, itsVerboseFlag.LONG_OPTION
as well as itsVerboseFlag.ALIAS
an according semantics regarded by other subsystems.
-