Uses of Class
org.refcodes.cli.CliContext
-
Uses of CliContext in org.refcodes.cli
Modifier and TypeMethodDescriptionCliContext.Builder.build()
CliContext.Builder
for fluently building aCliContext
instances.CliContextAccessor.getCliContext()
Retrieves theCliContext
from theCliContext
property.default CliContext
CliContextAccessor.RootConditionProperty.letCliContext
(CliContext aCliContext) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCliContext
(setter) as ofCliContextAccessor.RootConditionMutator.setCliContext(CliContext)
and returns the very same value (getter).Modifier and TypeMethodDescriptiondefault CliContext
CliContextAccessor.RootConditionProperty.letCliContext
(CliContext aCliContext) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenCliContext
(setter) as ofCliContextAccessor.RootConditionMutator.setCliContext(CliContext)
and returns the very same value (getter).AbstractOperand.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliContext) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.AbstractOption.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.AllCondition.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.AndCondition.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.AnyCondition.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.ArrayOperand.parseArgs
(String[] aArgs, String[] aOperands, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.Constituent.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliContext) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.Constituent.parseArgs
(String[] aArgs, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.Flag.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.NoneOperand.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliContext) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.Operation.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliContext) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.OrCondition.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.XorCondition.parseArgs
(String[] aArgs, String[] aOptions, CliContext aCliCtx) Parses the provided command line arguments and determines the according values by evaluating thisConstituent
instance or, in case of being a node in the syntax tree (such as aCondition
, traversing the childConstituent
instances'Constituent.parseArgs(String[], String[], CliContext)
methods.void
CliContextAccessor.RootConditionMutator.setCliContext
(CliContext aCliContext) Sets theCliContext
for theCliContext
property.AbstractOption.toOptionArgument
(Option<?> aOption, String[] aArgs, String[] aOptions, CliContext aCliCtx) AllCondition.toSynopsis
(CliContext aCliCtx) Returns the human readable (verbose) syntax of implementing class ATTENTION: As of different parenthesis settings for some notations regarding the rootConstituent
and the childConstituent
s, the methodConstituent.toSyntax(CliContext)
is called from inside aConstituent
hierarchy.AndCondition.toSynopsis
(CliContext aCliCtx) Returns the human readable (verbose) syntax of implementing class ATTENTION: As of different parenthesis settings for some notations regarding the rootConstituent
and the childConstituent
s, the methodConstituent.toSyntax(CliContext)
is called from inside aConstituent
hierarchy.default String
Constituent.toSynopsis
(CliContext aCliCtx) Returns the human readable (verbose) syntax of implementing class ATTENTION: As of different parenthesis settings for some notations regarding the rootConstituent
and the childConstituent
s, the methodConstituent.toSyntax(CliContext)
is called from inside aConstituent
hierarchy.OrCondition.toSynopsis
(CliContext aCliCtx) Returns the human readable (verbose) syntax of implementing class ATTENTION: As of different parenthesis settings for some notations regarding the rootConstituent
and the childConstituent
s, the methodConstituent.toSyntax(CliContext)
is called from inside aConstituent
hierarchy.Synopsisable.toSynopsis
(CliContext aCliCtx) Returns the human readable (verbose) syntax of implementing class ATTENTION: As of different parenthesis settings for some notations regarding the rootConstituent
and the childConstituent
s, the methodConstituent.toSyntax(CliContext)
is called from inside aConstituent
hierarchy.XorCondition.toSynopsis
(CliContext aCliCtx) Returns the human readable (verbose) syntax of implementing class ATTENTION: As of different parenthesis settings for some notations regarding the rootConstituent
and the childConstituent
s, the methodConstituent.toSyntax(CliContext)
is called from inside aConstituent
hierarchy.AbstractCondition.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.AbstractOperand.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.AbstractOption.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.AllCondition.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.AndCondition.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.AnyCondition.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.ArrayOperand.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.ArrayOption.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.Constituent.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.Flag.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.NoneOperand.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.Operation.toSyntax
(CliContext aCliCtx) This method is to be called from inside theConstituent
hierarchy; use the methodSynopsisable.toSynopsis(SyntaxNotation)
in case you invoke syntax retrieval from the rootConstituent
.CliContextAccessor.RootConditionBuilder.withCliContext
(CliContext aCliContext) Sets theCliContext
for theCliContext
property.ModifierConstructorDescriptionArgsParserImpl
(CliContext aCliCtx) Constructs theArgsParser
instance without any restrictions to the parsed arguments.ArgsParserImpl
(Constituent aArgsSyntax, CliContext aCliCtx) Constructs theArgsParser
instance with the given rootCondition
and the defaultSyntaxNotation.LOGICAL
.