Uses of Class
org.refcodes.cli.ParseArgsException
-
-
Uses of ParseArgsException in org.refcodes.cli
Methods in org.refcodes.cli that throw ParseArgsException Modifier and Type Method Description List<? extends Operand<?>>
ArgsParser. evalArgs(String[] aArgs)
Evaluates the provided command line arguments and determines the according values by evaluating the rootArgsSyntax
.default List<? extends Operand<?>>
ArgsParser. evalArgs(List<String> aArgs)
Same asArgsParser.evalArgs(String[])
with the difference that the elements representing the arguments are passed as a list instead of an array.List<? extends Operand<?>>
ArgsParserImpl. evalArgs(String[] aArgs)
Evaluates the provided command line arguments and determines the according values by evaluating the rootArgsSyntax
.List<Operand<T>>
AbstractOperand. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<Operand<T>>
AbstractOption. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
AllCondition. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
AndCondition. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
AnyCondition. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<Operand<?>>
ArrayOperand. parseArgs(String[] aArgs, String[] aOperands)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<Operand<Boolean>>
Flag. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<Operand<Boolean>>
NoneOperand. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<Operand<Boolean>>
Operation. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
OptionCondition. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
OrCondition. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.default List<? extends Operand<?>>
Syntaxable. parseArgs(String[] aArgs)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
Syntaxable. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.List<? extends Operand<?>>
XorCondition. parseArgs(String[] aArgs, String[] aOptions)
Parses the provided command line arguments and determines the according values by evaluating thisSyntaxable
instance or, in case of being a node in the syntax tree (such as aArgsSyntax
, traversing the childSyntaxable
instances'Syntaxable.parseArgs(String[], String[])
methods.protected abstract T
AbstractOperand. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Character
CharOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Double
DoubleOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected T
EnumOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected File
FileOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Boolean
Flag. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Float
FloatOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Integer
IntOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Long
LongOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected Boolean
Operation. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.protected String
StringOption. toType(String aArg)
Double dispatch hook to be implemented by subclasses of theAbstractOperand
for converting a command line argument to the requiredOperand
's type.default ArgsParser
ArgsParser. withEvalArgs(String[] aArgs)
Same asArgsParser.evalArgs(String[])
with the difference that this class's instance being invoked is returned as of the builder pattern.default ArgsParser
ArgsParser. withEvalArgs(List<String> aArgs)
Same asArgsParser.evalArgs(List)
with the difference that this class's instance being invoked is returned as of the builder pattern.B
ArgsParserMixin. withEvalArgs(String[] aArgs)
Evaluates the provided command line arguments.default B
ArgsParserMixin. withEvalArgs(List<String> aArgs)
Evaluates the provided command line arguments .
-