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.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.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 intCommandLine.Range. compareTo(CommandLine.Range other)
-