Uses of Class
org.apache.logging.log4j.core.tools.picocli.CommandLine.Range
-
Packages that use CommandLine.Range Package Description org.apache.logging.log4j.core.tools.picocli -
-
Uses of CommandLine.Range in org.apache.logging.log4j.core.tools.picocli
Methods in org.apache.logging.log4j.core.tools.picocli that return CommandLine.Range Modifier and Type Method Description static CommandLine.Range
CommandLine.Range. defaultArity(Class<?> type)
Returns the default arityRange
foroptions
: booleans have arity 0, other types have arity 1.static CommandLine.Range
CommandLine.Range. defaultArity(Field field)
Returns the default arityRange
: foroptions
this is 0 for booleans and 1 for other types, forparameters
booleans have arity 0, arrays or Collections have arity "0..*", and other types have arity 1.CommandLine.Range
CommandLine.Range. max(int newMax)
Returns a new Range object with themax
value replaced by the specified value.CommandLine.Range
CommandLine.Range. min(int newMin)
Returns a new Range object with themin
value replaced by the specified value.static CommandLine.Range
CommandLine.Range. optionArity(Field field)
Returns a newRange
based on theCommandLine.Option.arity()
annotation on the specified field, or the field type's default arity if no arity was specified.static CommandLine.Range
CommandLine.Range. parameterArity(Field field)
Returns a newRange
based on theCommandLine.Parameters.arity()
annotation on the specified field, or the field type's default arity if no arity was specified.static CommandLine.Range
CommandLine.Range. parameterIndex(Field field)
Returns a newRange
based on theCommandLine.Parameters.index()
annotation on the specified field.static CommandLine.Range
CommandLine.Range. valueOf(String range)
Leniently parses the specified String as anRange
value and return the result.Methods in org.apache.logging.log4j.core.tools.picocli with parameters of type CommandLine.Range Modifier and Type Method Description int
CommandLine.Range. compareTo(CommandLine.Range other)
-