Uses of Class
picocli.CommandLine.Model.ArgSpec
-
Packages that use CommandLine.Model.ArgSpec Package Description picocli Provides classes and interfaces for the main picocli command line parsing andautocompletionfunctionality.picocli.codegen.annotation.processing picocli.codegen.aot.graalvm -
-
Uses of CommandLine.Model.ArgSpec in picocli
Subclasses of CommandLine.Model.ArgSpec in picocli Modifier and Type Class Description static classCommandLine.Model.OptionSpecTheOptionSpecclass models aspects of a named option of a command, including whether it is required or optional, the option parameters supported (or required) by the option, and attributes for the usage help message describing the option.static classCommandLine.Model.PositionalParamSpecThePositionalParamSpecclass models aspects of a positional parameter of a command, including whether it is required or optional, and attributes for the usage help message describing the positional parameter.Fields in picocli declared as CommandLine.Model.ArgSpec Modifier and Type Field Description private CommandLine.Model.ArgSpecCommandLine.ParameterException. argSpecprivate CommandLine.Model.ArgSpecCommandLine.OverwrittenOptionException. overwrittenArgprivate CommandLine.Model.ArgSpecCommandLine.Model.ArgSpec.Builder. rootprivate CommandLine.Model.ArgSpecCommandLine.Model.ArgSpec. rootFields in picocli with type parameters of type CommandLine.Model.ArgSpec Modifier and Type Field Description private java.util.Set<CommandLine.Model.ArgSpec>CommandLine.Model.ArgGroupSpec. argsprivate java.util.List<CommandLine.Model.ArgSpec>CommandLine.Model.ArgGroupSpec.Builder. argsprivate java.util.List<CommandLine.Model.ArgSpec>CommandLine.Model.CommandSpec. argsprivate java.util.List<CommandLine.Model.ArgSpec>CommandLine.ParseResult. matchedArgsprivate java.util.List<CommandLine.Model.ArgSpec>CommandLine.ParseResult.Builder. matchedArgsList(package private) java.util.Map<CommandLine.Model.ArgSpec,java.util.List<java.lang.Object>>CommandLine.ParseResult.GroupMatch. matchedValues(package private) java.util.Map<CommandLine.Model.ArgSpec,java.util.Map<java.lang.Integer,java.util.List<java.lang.Object>>>CommandLine.ParseResult.GroupMatch. matchedValuesAtPositionprivate java.util.List<CommandLine.Model.ArgSpec>CommandLine.MissingParameterException. missing(package private) java.util.Map<CommandLine.Model.ArgSpec,java.util.List<java.lang.String>>CommandLine.ParseResult.GroupMatch. originalStringValuesprivate java.util.List<CommandLine.Model.ArgSpec>CommandLine.Model.CommandSpec. requiredArgsMethods in picocli that return CommandLine.Model.ArgSpec Modifier and Type Method Description abstract CommandLine.Model.ArgSpecCommandLine.Model.ArgSpec.Builder. build()private static CommandLine.Model.ArgSpecCommandLine.Model.CommandReflection. buildArgForMember(CommandLine.Model.IAnnotatedElement member, CommandLine.IFactory factory)CommandLine.Model.ArgSpecCommandLine.ParameterException. getArgSpec()Returns theArgSpecobject for the (sub)command whose input could not be parsed.CommandLine.Model.ArgSpecCommandLine.OverwrittenOptionException. getOverwritten()Returns theCommandLine.Model.ArgSpecfor the option which was being overwritten.CommandLine.Model.ArgSpecCommandLine.Model.ArgSpec. messages(CommandLine.Model.Messages msgs)Sets the Messages for this ArgSpec, and returns this ArgSpec.CommandLine.Model.ArgSpecCommandLine.Model.ArgSpec.Builder. root()Returns the root option or positional parameter (on the parent command), if this option or positional parameter was inherited; ornullif it was not.CommandLine.Model.ArgSpecCommandLine.Model.ArgSpec. root()Returns the root option or positional parameter (on the parent command), if this option or positional parameter was inherited; ornullif it was not.Methods in picocli that return types with arguments of type CommandLine.Model.ArgSpec Modifier and Type Method Description java.util.Set<CommandLine.Model.ArgSpec>CommandLine.Model.ArgGroupSpec. args()Returns the options and positional parameters in this group; may be empty but notnull.java.util.List<CommandLine.Model.ArgSpec>CommandLine.Model.ArgGroupSpec.Builder. args()Returns the list of options and positional parameters that depend on this group.java.util.List<CommandLine.Model.ArgSpec>CommandLine.Model.CommandSpec. args()Returns the list of all options and positional parameters configured for this command.java.util.List<CommandLine.Model.ArgSpec>CommandLine.MissingParameterException. getMissing()java.util.List<CommandLine.Model.ArgSpec>CommandLine.ParseResult. matchedArgs()Returns a list of matched options and positional parameters, in order they were matched on the command line.java.util.Set<CommandLine.Model.ArgSpec>CommandLine.Model.ArgGroupSpec. requiredArgs()Returns the required options and positional parameters in this group; may be empty but notnull.java.util.List<CommandLine.Model.ArgSpec>CommandLine.Model.CommandSpec. requiredArgs()Returns the list of required options and positional parameters configured for this command.Methods in picocli with parameters of type CommandLine.Model.ArgSpec Modifier and Type Method Description CommandLine.Model.CommandSpecCommandLine.Model.CommandSpec. add(CommandLine.Model.ArgSpec arg)Adds the specified option spec or positional parameter spec to the list of configured arguments to expect.CommandLine.ParseResult.BuilderCommandLine.ParseResult.Builder. add(CommandLine.Model.ArgSpec arg, int position)Adds the specifiedOptionSpecorPositionalParamSpecto the list of options and parameters that were matched on the command line.CommandLine.Model.ArgGroupSpec.BuilderCommandLine.Model.ArgGroupSpec.Builder. addArg(CommandLine.Model.ArgSpec arg)Adds the specified argument to the list of options and positional parameters that depend on this group.private CommandLine.Model.CommandSpecCommandLine.Model.CommandSpec. addArg(CommandLine.Model.ArgSpec arg)(package private) voidCommandLine.ParseResult.GroupMatch. addMatchedValue(CommandLine.Model.ArgSpec argSpec, int matchPosition, java.lang.Object stronglyTypedValue, CommandLine.Tracer tracer)(package private) voidCommandLine.ParseResult.Builder. addOriginalStringValue(CommandLine.Model.ArgSpec argSpec, java.lang.String value)(package private) voidCommandLine.ParseResult.GroupMatch. addOriginalStringValue(CommandLine.Model.ArgSpec argSpec, java.lang.String value)(package private) voidCommandLine.ParseResult.Builder. addStringValue(CommandLine.Model.ArgSpec argSpec, java.lang.String value)private voidCommandLine.Interpreter. addToInitialized(CommandLine.Model.ArgSpec argSpec, java.util.Set<CommandLine.Model.ArgSpec> initialized)private static voidCommandLine.Help. addTrailingDefaultLine(java.util.List<CommandLine.Help.Ansi.Text[]> result, CommandLine.Model.ArgSpec arg, CommandLine.Help.ColorScheme scheme)(package private) voidCommandLine.ParseResult.Builder. addTypedValues(CommandLine.Model.ArgSpec argSpec, int position, java.lang.Object typedValue)private intCommandLine.Interpreter. addUserInputToList(CommandLine.Model.ArgSpec argSpec, java.util.List<java.lang.Object> result, int consumed, java.lang.String argDescription)private booleanCommandLine.Interpreter. applyDefault(CommandLine.IDefaultValueProvider defaultValueProvider, CommandLine.Model.ArgSpec arg)private intCommandLine.Interpreter. applyOption(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValuesToArrayField(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValuesToCollectionField(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValuesToMapField(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValueToSingleValuedField(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range derivedArity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private booleanCommandLine.Interpreter. assertNoMissingMandatoryParameter(CommandLine.Model.ArgSpec argSpec, java.util.Stack<java.lang.String> args, int i, CommandLine.Range arity)private booleanCommandLine.Interpreter. assertNoMissingParameters(CommandLine.Model.ArgSpec argSpec, CommandLine.Range arity, java.util.Stack<java.lang.String> args)(package private) voidCommandLine.ParseResult.Builder. beforeMatchingGroupElement(CommandLine.Model.ArgSpec argSpec)private booleanCommandLine.Interpreter. booleanValue(CommandLine.Model.ArgSpec argSpec, java.lang.Object value)private booleanCommandLine.Interpreter. canConsumeOneArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg, java.lang.String argDescription)private booleanCommandLine.Interpreter. canConsumeOneMapArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg, java.lang.Class<?>[] classes, CommandLine.ITypeConverter<?> keyConverter, CommandLine.ITypeConverter<?> valueConverter, java.lang.String argDescription)private voidCommandLine.Interpreter. clear(CommandLine.Model.ArgSpec argSpec)intCommandLine.PositionalParametersSorter. compare(CommandLine.Model.ArgSpec p1, CommandLine.Model.ArgSpec p2)private java.util.List<java.lang.Object>CommandLine.Interpreter. consumeArguments(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, boolean unquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.lang.String argDescription)private intCommandLine.Interpreter. consumedCount(int i, int initialSize, CommandLine.Model.ArgSpec arg)private intCommandLine.Interpreter. consumedCountMap(int i, int initialSize, CommandLine.Model.ArgSpec arg)private voidCommandLine.Interpreter. consumeMapArguments(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Map<java.lang.Object,java.lang.Object> result, java.lang.String argDescription)private intCommandLine.Interpreter. consumeOneArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg, java.util.List<java.lang.Object> result, int index, java.lang.String argDescription)private voidCommandLine.Interpreter. consumeOneMapArgument(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg, 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)voidCommandLine.IParameterConsumer. consumeParameters(java.util.Stack<java.lang.String> args, CommandLine.Model.ArgSpec argSpec, CommandLine.Model.CommandSpec commandSpec)Consumes as many of the specified command line arguments as needed by popping them off the specified Stack.voidCommandLine.NullParameterConsumer. consumeParameters(java.util.Stack<java.lang.String> args, CommandLine.Model.ArgSpec argSpec, CommandLine.Model.CommandSpec commandSpec)private static CommandLine.DuplicateOptionAnnotationsExceptionCommandLine.DuplicateOptionAnnotationsException. create(java.lang.String name, CommandLine.Model.ArgSpec argSpec1, CommandLine.Model.ArgSpec argSpec2)private static CommandLine.Help.Ansi.Text[]CommandLine.Help. createDescriptionFirstLines(CommandLine.Help.ColorScheme scheme, CommandLine.Model.ArgSpec arg, java.lang.String[] description, boolean[] showDefault)private static java.lang.StringCommandLine. createMissingParameterMessage(CommandLine.Model.ArgSpec argSpec, CommandLine.Range arity, java.util.List<CommandLine.Model.PositionalParamSpec> missingList, java.util.Stack<java.lang.String> args, int available)private java.lang.StringCommandLine.Interpreter. createMissingParameterMessageFoundOtherOption(CommandLine.Model.ArgSpec argSpec, java.util.Stack<java.lang.String> args, int i, CommandLine.Range arity)private java.lang.StringCommandLine.Interpreter. createUserInputDebugString(CommandLine.Model.ArgSpec argSpec, char[] result, java.lang.String name)java.lang.StringCommandLine.IDefaultValueProvider. defaultValue(CommandLine.Model.ArgSpec argSpec)Returns the default value for an option or positional parameter ornull.java.lang.StringCommandLine.NoDefaultProvider. defaultValue(CommandLine.Model.ArgSpec argSpec)java.lang.StringCommandLine.PropertiesDefaultProvider. defaultValue(CommandLine.Model.ArgSpec argSpec)private static java.lang.StringCommandLine.Model.ArgSpec. describe(CommandLine.Model.ArgSpec argSpec, java.lang.String separator)Returns a description of the option or positional arg, e.g.private static java.lang.StringCommandLine.Model.ArgSpec. describe(CommandLine.Model.ArgSpec argSpec, java.lang.String separator, java.lang.String value)Returns a description of the option or positional argprotected booleanCommandLine.Model.ArgSpec. equalsImpl(CommandLine.Model.ArgSpec other)private static CommandLine.Model.CommandSpecAutoComplete. findCommandFor(CommandLine.Model.ArgSpec arg, CommandLine.Model.CommandSpec cmd)private CommandLine.ParseResult.GroupMatchContainerCommandLine.ParseResult.GroupMatchContainer. findOrCreateMatchingGroup(CommandLine.Model.ArgSpec argSpec, CommandLine commandLine)private CommandLine.ITypeConverter<?>CommandLine.Interpreter. getActualTypeConverter(java.lang.Class<?> type, CommandLine.Model.ArgSpec argSpec)private java.lang.StringCommandLine.Interpreter. getMaskedValue(CommandLine.Model.ArgSpec argSpec, java.lang.String input)(package private) intCommandLine.Interpreter. getPosition(CommandLine.Model.ArgSpec arg)private CommandLine.ITypeConverter<?>CommandLine.Interpreter. getTypeConverter(java.lang.Class<?>[] types, CommandLine.Model.ArgSpec argSpec, int index)(package private) booleanCommandLine.ParseResult.GroupMatch. hasMatchedValueAtPosition(CommandLine.Model.ArgSpec arg, int position)private CommandLine.RangeCommandLine.PositionalParametersSorter. index(CommandLine.Model.ArgSpec arg)private booleanCommandLine.Interpreter. is(CommandLine.Model.ArgSpec p, java.lang.String attribute, boolean value)private booleanCommandLine.Interpreter. isArgResemblesOptionThereforeDiscontinue(CommandLine.Model.ArgSpec argSpec, java.util.Stack<java.lang.String> args, int i, CommandLine.Range arity)voidCommandLine.Help.Layout. layout(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi.Text[][] cellValues)Copies the specified text values into the correct cells in theCommandLine.Help.TextTable.(package private) intCommandLine.ParseResult.GroupMatch. matchCount(CommandLine.Model.ArgSpec argSpec)java.util.List<java.lang.Object>CommandLine.ParseResult.GroupMatch. matchedValues(CommandLine.Model.ArgSpec argSpec)Returns the values matched for the specified argument, converted to the type of the argument.private voidCommandLine.ParseResult.Builder. nowProcessing(CommandLine.Model.ArgSpec spec, java.lang.Object value)private static java.lang.StringCommandLine. optionDescription(java.lang.String prefix, CommandLine.Model.ArgSpec argSpec, int optionParamIndex)(package private) java.lang.StringCommandLine.Interpreter. positionDesc(CommandLine.Model.ArgSpec arg)booleanCommandLine.IParameterPreprocessor. preprocess(java.util.Stack<java.lang.String> args, CommandLine.Model.CommandSpec commandSpec, CommandLine.Model.ArgSpec argSpec, java.util.Map<java.lang.String,java.lang.Object> info)Called when either the command, option or positional parameter that has this preprocessor configured was recognized by the picocli parser.booleanCommandLine.NoOpParameterPreprocessor. preprocess(java.util.Stack<java.lang.String> args, CommandLine.Model.CommandSpec commandSpec, CommandLine.Model.ArgSpec argSpec, java.util.Map<java.lang.String,java.lang.Object> info)(package private) char[]CommandLine.Interpreter. readUserInput(CommandLine.Model.ArgSpec argSpec)CommandLine.Model.CommandSpecCommandLine.Model.CommandSpec. remove(CommandLine.Model.ArgSpec arg)(INCUBATING) Removes the specified option spec or positional parameter spec from the list of configured arguments to expect.private static <T> intCommandLine.Model.CommandSpec. remove(CommandLine.Model.ArgSpec arg, java.util.Map<T,CommandLine.Model.OptionSpec> map)CommandLine.Help.Ansi.TextCommandLine.Help.DefaultParamLabelRenderer. renderParameterLabel(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi ansi, java.util.List<CommandLine.Help.Ansi.IStyle> styles)CommandLine.Help.Ansi.TextCommandLine.Help.IParamLabelRenderer. renderParameterLabel(CommandLine.Model.ArgSpec argSpec, CommandLine.Help.Ansi ansi, java.util.List<CommandLine.Help.Ansi.IStyle> styles)Returns a text rendering of the option parameter or positional parameter; returns an empty string""if the option is a boolean and does not take a parameter.TCommandLine.Model.ArgSpec.Builder. root(CommandLine.Model.ArgSpec root)Sets the root object for this inherited option, and returns this builder.private java.lang.String[]CommandLine.Interpreter. splitKeyValue(CommandLine.Model.ArgSpec argSpec, java.lang.String value)private static java.lang.String[]CommandLine.Model.ArgSpec. splitRespectingQuotedStrings(java.lang.String value, int limit, CommandLine.Model.ParserSpec parser, CommandLine.Model.ArgSpec argSpec, java.lang.String splitRegex)booleanAutoComplete.BooleanArgFilter. test(CommandLine.Model.ArgSpec f)private java.lang.ObjectCommandLine.Interpreter. tryConvert(CommandLine.Model.ArgSpec argSpec, int index, CommandLine.ITypeConverter<?> converter, java.lang.String value, int typeIndex)private java.lang.String[]CommandLine.Interpreter. unquoteAndSplit(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, int consumed, java.lang.String arg)private voidCommandLine.Interpreter. updateHelpRequested(CommandLine.Model.ArgSpec argSpec)private booleanCommandLine.Interpreter. varargCanConsumeNextValue(CommandLine.Model.ArgSpec argSpec, java.lang.String nextValue)Returns whether the next argument can be assigned to a vararg option/positional parameter.Method parameters in picocli with type arguments of type CommandLine.Model.ArgSpec Modifier and Type Method Description private voidCommandLine.Interpreter. addPostponedRequiredArgs(java.util.Collection<CommandLine.Model.ArgSpec> inheritedRequired, java.util.List<CommandLine.Model.ArgSpec> required)private voidCommandLine.Interpreter. addPostponedRequiredArgs(java.util.Collection<CommandLine.Model.ArgSpec> inheritedRequired, java.util.List<CommandLine.Model.ArgSpec> required)private voidCommandLine.Interpreter. addToInitialized(CommandLine.Model.ArgSpec argSpec, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Interpreter. applyDefaultValues(java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Interpreter. applyDefaultValues(java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Interpreter. applyGroupDefaults(CommandLine.IDefaultValueProvider defaultValueProvider, CommandLine.Model.ArgGroupSpec group, java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Interpreter. applyGroupDefaults(CommandLine.IDefaultValueProvider defaultValueProvider, CommandLine.Model.ArgGroupSpec group, java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized)private intCommandLine.Interpreter. applyOption(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValuesToArrayField(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValuesToCollectionField(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValuesToMapField(CommandLine.Model.ArgSpec argSpec, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range arity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private intCommandLine.Interpreter. applyValueToSingleValuedField(CommandLine.Model.ArgSpec argSpec, boolean negated, CommandLine.LookBehind lookBehind, boolean alreadyUnquoted, CommandLine.Range derivedArity, java.util.Stack<java.lang.String> args, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String argDescription)private static CommandLine.MissingParameterExceptionCommandLine.MissingParameterException. create(CommandLine cmd, java.util.Collection<CommandLine.Model.ArgSpec> missing, java.lang.String separator)protected CommandLine.Help.Ansi.TextCommandLine.Help. createDetailedSynopsisGroupsText(java.util.Set<CommandLine.Model.ArgSpec> outparam_groupArgs)Returns a Text object containing a partial detailed synopsis showing only the options and positional parameters in the specified validating groups, starting with a" "space.protected CommandLine.Help.Ansi.TextCommandLine.Help. createDetailedSynopsisOptionsText(java.util.Collection<CommandLine.Model.ArgSpec> done, java.util.Comparator<CommandLine.Model.OptionSpec> optionSort, boolean clusterBooleanOptions)Returns a Text object containing a partial detailed synopsis showing only the options, starting with a" "space.protected CommandLine.Help.Ansi.TextCommandLine.Help. createDetailedSynopsisOptionsText(java.util.Collection<CommandLine.Model.ArgSpec> done, java.util.List<CommandLine.Model.OptionSpec> optionList, java.util.Comparator<CommandLine.Model.OptionSpec> optionSort, boolean clusterBooleanOptions)Returns a Text object containing a partial detailed synopsis showing only the specified options, starting with a" "space.protected CommandLine.Help.Ansi.TextCommandLine.Help. createDetailedSynopsisPositionalsText(java.util.Collection<CommandLine.Model.ArgSpec> done)Returns a Text object containing a partial detailed synopsis showing only the positional parameters, starting with a" "space.private static java.lang.StringCommandLine.Model.ArgSpec. describe(java.util.Collection<CommandLine.Model.ArgSpec> args)private static java.lang.StringCommandLine.Model.ArgSpec. describe(java.util.Collection<CommandLine.Model.ArgSpec> args, java.lang.String separator, java.lang.String optionParamSeparator, java.lang.String openingQuote, java.lang.String closingQuote)private static java.lang.StringCommandLine.Model.ArgSpec. describeTypes(java.util.Collection<CommandLine.Model.ArgSpec> args)private voidCommandLine.Interpreter. parse(java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> argumentStack, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing, java.util.Collection<CommandLine.Model.ArgSpec> inheritedRequired)private voidCommandLine.Interpreter. parse(java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> argumentStack, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing, java.util.Collection<CommandLine.Model.ArgSpec> inheritedRequired, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Interpreter. parse(java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> argumentStack, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing, java.util.Collection<CommandLine.Model.ArgSpec> inheritedRequired, java.util.Set<CommandLine.Model.ArgSpec> initialized)private voidCommandLine.Interpreter. processArguments(java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> args, java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing)private voidCommandLine.Interpreter. processArguments(java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> args, java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing)private voidCommandLine.Interpreter. processClusteredShortOptions(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String arg, boolean alreadyUnquoted, java.util.Stack<java.lang.String> args)private voidCommandLine.Interpreter. processClusteredShortOptions(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String arg, boolean alreadyUnquoted, java.util.Stack<java.lang.String> args)private voidCommandLine.Interpreter. processPositionalParameter(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, boolean alreadyUnquoted, java.util.Stack<java.lang.String> args)private voidCommandLine.Interpreter. processPositionalParameter(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, boolean alreadyUnquoted, java.util.Stack<java.lang.String> args)private voidCommandLine.Interpreter. processRemainderAsPositionalParameters(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.util.Stack<java.lang.String> args)private voidCommandLine.Interpreter. processRemainderAsPositionalParameters(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.util.Stack<java.lang.String> args)private voidCommandLine.Interpreter. processStandaloneOption(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String arg, boolean alreadyUnquoted, java.util.Stack<java.lang.String> args, CommandLine.LookBehind lookBehind)private voidCommandLine.Interpreter. processStandaloneOption(java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String arg, boolean alreadyUnquoted, java.util.Stack<java.lang.String> args, CommandLine.LookBehind lookBehind)private voidCommandLine.Interpreter. processSubcommand(CommandLine subcommand, CommandLine.ParseResult.Builder builder, java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> args, java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing, java.lang.String separator, java.lang.String arg)private voidCommandLine.Interpreter. processSubcommand(CommandLine subcommand, CommandLine.ParseResult.Builder builder, java.util.List<CommandLine> parsedCommands, java.util.Stack<java.lang.String> args, java.util.Collection<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> initialized, java.lang.String[] originalArgs, java.util.List<java.lang.Object> nowProcessing, java.lang.String separator, java.lang.String arg)private CommandLine.Help.Ansi.TextCommandLine.Model.ArgGroupSpec. rawSynopsisUnitText(CommandLine.Help.ColorScheme colorScheme, java.util.Set<CommandLine.Model.ArgSpec> outparam_groupArgs)CommandLine.Help.Ansi.TextCommandLine.Model.ArgGroupSpec. synopsisText(CommandLine.Help.ColorScheme colorScheme, java.util.Set<CommandLine.Model.ArgSpec> outparam_groupArgs)Returns the synopsis of this group.(package private) CommandLine.ParseResult.GroupValidationResultCommandLine.Model.ArgGroupSpec. validateArgs(CommandLine commandLine, java.util.Collection<CommandLine.Model.ArgSpec> matchedArgs)private voidCommandLine.Interpreter. validateConstraints(java.util.Stack<java.lang.String> argumentStack, java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> matched)private voidCommandLine.Interpreter. validateConstraints(java.util.Stack<java.lang.String> argumentStack, java.util.List<CommandLine.Model.ArgSpec> required, java.util.Set<CommandLine.Model.ArgSpec> matched)Constructors in picocli with parameters of type CommandLine.Model.ArgSpec Constructor Description Builder(CommandLine.Model.ArgSpec original)MissingParameterException(CommandLine commandLine, CommandLine.Model.ArgSpec missing, java.lang.String msg)OverwrittenOptionException(CommandLine commandLine, CommandLine.Model.ArgSpec overwritten, java.lang.String msg)ParameterException(CommandLine commandLine, java.lang.String msg, java.lang.Throwable t, CommandLine.Model.ArgSpec argSpec, java.lang.String value)Constructs a new ParameterException with the specified CommandLine and error message.ParameterException(CommandLine commandLine, java.lang.String msg, CommandLine.Model.ArgSpec argSpec, java.lang.String value)Constructs a new ParameterException with the specified CommandLine and error message.Constructor parameters in picocli with type arguments of type CommandLine.Model.ArgSpec Constructor Description MissingParameterException(CommandLine commandLine, java.util.Collection<CommandLine.Model.ArgSpec> missing, java.lang.String msg) -
Uses of CommandLine.Model.ArgSpec in picocli.codegen.annotation.processing
Methods in picocli.codegen.annotation.processing with parameters of type CommandLine.Model.ArgSpec Modifier and Type Method Description voidParameterConsumerMetaData. consumeParameters(java.util.Stack<java.lang.String> args, CommandLine.Model.ArgSpec argSpec, CommandLine.Model.CommandSpec commandSpec)Does nothing.java.lang.StringDefaultValueProviderMetaData. defaultValue(CommandLine.Model.ArgSpec argSpec)Always returnsnull. -
Uses of CommandLine.Model.ArgSpec in picocli.codegen.aot.graalvm
Methods in picocli.codegen.aot.graalvm with parameters of type CommandLine.Model.ArgSpec Modifier and Type Method Description private voidReflectionConfigGenerator.Visitor. visitArgSpec(CommandLine.Model.ArgSpec argSpec)
-