Uses of Interface
org.refcodes.cli.Option
-
Uses of Option in org.refcodes.cli
Classes in org.refcodes.cli that implement OptionModifier and TypeClassDescriptionclass
TheAbstractOption
is an abstract implementation of anOption
providing the boiler plate when implementing theOption
interface.class
ArrayOption<T>
Creates an array representation facade for the encapsulatedOption
.class
class
A predefined cleanFlag
: A predefinedFlag
gives itsCleanFlag.SHORT_OPTION
, itsCleanFlag.LONG_OPTION
as well as itsCleanFlag.ALIAS
an according semantics regarded by other subsystems.class
TheConfigOption
represents anOption
holding a value specifying a configuration resource (file).class
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
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
class
EnumOption<T extends Enum<T>>
The Class EnumOption.class
class
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
class
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
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
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
class
class
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
class
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
A predefined verboseFlag
: A predefinedFlag
gives itsVerboseFlag.SHORT_OPTION
, itsVerboseFlag.LONG_OPTION
as well as itsVerboseFlag.ALIAS
an according semantics regarded by other subsystems.Methods in org.refcodes.cli with parameters of type OptionModifier and TypeMethodDescriptionstatic <T> ArrayOption<T>
Creates an array representation facade for the encapsulatedOption
.static <T> ArrayOption<T>
Creates an array representation facade for the encapsulatedOption
.static <T> ArrayOption<T>
Creates an array representation facade for the encapsulatedOption
.CliUtility.getOptionArgument
(Option<?> aOption, String[] aArgs, String[] aOptions) default void
RootConditionAccessor.RootConditionMutator.setRootOption
(Option<?> aRootOption) Sets the root option for the root condition property.default B
RootConditionAccessor.RootConditionBuilder.withRootOption
(Option<?> aRootOption) Sets the root option for the root condition property.Constructors in org.refcodes.cli with parameters of type OptionModifierConstructorDescriptionArgsParserImpl
(Option<?> aRootOption) Constructs theArgsParser
instance with the given rootOption
and the defaultSyntaxNotation.REFCODES
.ArrayOption
(Option<T> aOption) Constructs theArrayOption
by encapsulating the givenOption
and providing its definition as array definition to the CLI.ArrayOption
(Option<T> aOption, int aLength) Constructs theArrayOption
by encapsulating the givenOption
and providing its definition as array definition to the CLI.ArrayOption
(Option<T> aOption, int aMinLength, int aMaxLength) Constructs theArrayOption
by encapsulating the givenOption
and providing its definition as array definition to the CLI.OptionCondition
(Option<?> aArg)