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
Methods in org.apache.logging.log4j.core.tools.picocli that return CommandLine.RangeModifier and TypeMethodDescriptionstatic 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.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.Range