Uses of Class
org.apache.logging.log4j.core.tools.picocli.CommandLine.Range
Packages that use CommandLine.Range
-
Uses of CommandLine.Range in org.apache.logging.log4j.core.tools.picocli
Classes in org.apache.logging.log4j.core.tools.picocli that implement interfaces with type arguments of type CommandLine.RangeModifier and TypeClassDescriptionstatic classDescribes the number of parameters required and accepted by an option or a positional parameter.Methods in org.apache.logging.log4j.core.tools.picocli that return CommandLine.RangeModifier and TypeMethodDescription(package private) static CommandLine.RangeCommandLine.Range.adjustForType(CommandLine.Range result, Field field) static CommandLine.RangeCommandLine.Range.defaultArity(Class<?> type) Returns the default arityRangeforoptions: booleans have arity 0, other types have arity 1.static CommandLine.RangeCommandLine.Range.defaultArity(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.Range.max(int newMax) Returns a new Range object with themaxvalue replaced by the specified value.CommandLine.Range.min(int newMin) Returns a new Range object with theminvalue replaced by the specified value.static CommandLine.RangeCommandLine.Range.optionArity(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(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(Field field) static CommandLine.RangeCommandLine.Range.parameterIndex(Field field) Returns a newRangebased on theCommandLine.Parameters.index()annotation on the specified field.static CommandLine.RangeLeniently parses the specified String as anRangevalue and return the result.Methods in org.apache.logging.log4j.core.tools.picocli with parameters of type CommandLine.RangeModifier and TypeMethodDescription(package private) static CommandLine.RangeCommandLine.Range.adjustForType(CommandLine.Range result, Field field) private intCommandLine.Interpreter.applyOption(Field field, Class<?> annotation, CommandLine.Range arity, boolean valueAttachedToOption, Stack<String> args, Set<Field> initialized, String argDescription) private intCommandLine.Interpreter.applyValuesToArrayField(Field field, Class<?> annotation, CommandLine.Range arity, Stack<String> args, Class<?> cls, String argDescription) private intCommandLine.Interpreter.applyValuesToCollectionField(Field field, Class<?> annotation, CommandLine.Range arity, Stack<String> args, Class<?> cls, String argDescription) private intCommandLine.Interpreter.applyValuesToMapField(Field field, Class<?> annotation, CommandLine.Range arity, Stack<String> args, Class<?> cls, String argDescription) private intCommandLine.Interpreter.applyValueToSingleValuedField(Field field, CommandLine.Range arity, Stack<String> args, Class<?> cls, Set<Field> initialized, String argDescription) private voidCommandLine.Interpreter.checkMaxArityExceeded(CommandLine.Range arity, int remainder, Field field, String[] values) intCommandLine.Range.compareTo(CommandLine.Range other) CommandLine.Interpreter.consumeArguments(Field field, Class<?> annotation, CommandLine.Range arity, Stack<String> args, Class<?> type, int originalSize, String argDescription) private voidCommandLine.Interpreter.consumeMapArguments(Field field, CommandLine.Range arity, Stack<String> args, Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, Map<Object, Object> result, String argDescription) private intCommandLine.Interpreter.consumeOneArgument(Field field, CommandLine.Range arity, Stack<String> args, Class<?> type, List<Object> result, int index, int originalSize, String argDescription) private voidCommandLine.Interpreter.consumeOneMapArgument(Field field, CommandLine.Range arity, Stack<String> args, Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, Map<Object, Object> result, int index, String argDescription)