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.RangeCommandLine.Range. adjustForType(CommandLine.Range result, java.lang.reflect.Field field)static CommandLine.RangeCommandLine.Range. defaultArity(java.lang.Class<?> type)Returns the default arityRangeforoptions: booleans have arity 0, other types have arity 1.static CommandLine.RangeCommandLine.Range. defaultArity(java.lang.reflect.Field field)Returns the default arityRange: foroptionsthis is 0 for booleans and 1 for other types, forparametersbooleans have arity 0, arrays or Collections have arity "0..*", and other types have arity 1.CommandLine.RangeCommandLine.Range. max(int newMax)Returns a new Range object with themaxvalue replaced by the specified value.CommandLine.RangeCommandLine.Range. min(int newMin)Returns a new Range object with theminvalue replaced by the specified value.static CommandLine.RangeCommandLine.Range. optionArity(java.lang.reflect.Field field)Returns a newRangebased on theCommandLine.Option.arity()annotation on the specified field, or the field type's default arity if no arity was specified.static CommandLine.RangeCommandLine.Range. parameterArity(java.lang.reflect.Field field)Returns a newRangebased 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.RangeCommandLine.Range. parameterCapacity(java.lang.reflect.Field field)static CommandLine.RangeCommandLine.Range. parameterIndex(java.lang.reflect.Field field)Returns a newRangebased on theCommandLine.Parameters.index()annotation on the specified field.static CommandLine.RangeCommandLine.Range. valueOf(java.lang.String range)Leniently parses the specified String as anRangevalue 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.RangeCommandLine.Range. adjustForType(CommandLine.Range result, java.lang.reflect.Field field)private intCommandLine.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 intCommandLine.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 intCommandLine.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 intCommandLine.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 intCommandLine.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 voidCommandLine.Interpreter. checkMaxArityExceeded(CommandLine.Range arity, int remainder, java.lang.reflect.Field field, java.lang.String[] values)intCommandLine.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 voidCommandLine.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 intCommandLine.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 voidCommandLine.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)
-