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 (package private) static CommandLine.Range
CommandLine.Range. adjustForType(CommandLine.Range result, java.lang.reflect.Field field)
static CommandLine.Range
CommandLine.Range. defaultArity(java.lang.Class<?> type)
Returns the default arityRange
foroptions
: booleans have arity 0, other types have arity 1.static CommandLine.Range
CommandLine.Range. defaultArity(java.lang.reflect.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(java.lang.reflect.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(java.lang.reflect.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.(package private) static CommandLine.Range
CommandLine.Range. parameterCapacity(java.lang.reflect.Field field)
static CommandLine.Range
CommandLine.Range. parameterIndex(java.lang.reflect.Field field)
Returns a newRange
based on theCommandLine.Parameters.index()
annotation on the specified field.static CommandLine.Range
CommandLine.Range. valueOf(java.lang.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 (package private) static CommandLine.Range
CommandLine.Range. adjustForType(CommandLine.Range result, java.lang.reflect.Field field)
private int
CommandLine.Interpreter. applyOption(java.lang.reflect.Field field, java.lang.Class<?> annotation, CommandLine.Range arity, boolean valueAttachedToOption, java.util.Stack<java.lang.String> args, java.util.Set<java.lang.reflect.Field> initialized, java.lang.String argDescription)
private int
CommandLine.Interpreter. applyValuesToArrayField(java.lang.reflect.Field field, java.lang.Class<?> annotation, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?> cls, java.lang.String argDescription)
private int
CommandLine.Interpreter. applyValuesToCollectionField(java.lang.reflect.Field field, java.lang.Class<?> annotation, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?> cls, java.lang.String argDescription)
private int
CommandLine.Interpreter. applyValuesToMapField(java.lang.reflect.Field field, java.lang.Class<?> annotation, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?> cls, java.lang.String argDescription)
private int
CommandLine.Interpreter. applyValueToSingleValuedField(java.lang.reflect.Field field, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?> cls, java.util.Set<java.lang.reflect.Field> initialized, java.lang.String argDescription)
private void
CommandLine.Interpreter. checkMaxArityExceeded(CommandLine.Range arity, int remainder, java.lang.reflect.Field field, java.lang.String[] values)
int
CommandLine.Range. compareTo(CommandLine.Range other)
private java.util.List<java.lang.Object>
CommandLine.Interpreter. consumeArguments(java.lang.reflect.Field field, java.lang.Class<?> annotation, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?> type, int originalSize, java.lang.String argDescription)
private void
CommandLine.Interpreter. consumeMapArguments(java.lang.reflect.Field field, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, java.util.Map<java.lang.Object,java.lang.Object> result, java.lang.String argDescription)
private int
CommandLine.Interpreter. consumeOneArgument(java.lang.reflect.Field field, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?> type, java.util.List<java.lang.Object> result, int index, int originalSize, java.lang.String argDescription)
private void
CommandLine.Interpreter. consumeOneMapArgument(java.lang.reflect.Field field, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, java.util.Map<java.lang.Object,java.lang.Object> result, int index, java.lang.String argDescription)
-