Uses of Class
picocli.CommandLine.Model.PositionalParamSpec
-
Uses of CommandLine.Model.PositionalParamSpec in picocli
Fields in picocli declared as CommandLine.Model.PositionalParamSpecFields in picocli with type parameters of type CommandLine.Model.PositionalParamSpecModifier and TypeFieldDescriptionprivate final List<List<CommandLine.Model.PositionalParamSpec>> CommandLine.ParseResult.matchedPositionalParamsprivate final List<CommandLine.Model.PositionalParamSpec> CommandLine.ParseResult.matchedPositionalsprivate final List<CommandLine.Model.PositionalParamSpec> CommandLine.ParseResult.Builder.matchedPositionalsListprivate final Set<CommandLine.Model.PositionalParamSpec> CommandLine.ParseResult.matchedUniquePositionalsprivate final List<CommandLine.Model.PositionalParamSpec> CommandLine.Model.CommandSpec.positionalParametersprivate final List<List<CommandLine.Model.PositionalParamSpec>> CommandLine.ParseResult.Builder.positionalParamsprivate final Set<CommandLine.Model.PositionalParamSpec> CommandLine.ParseResult.Builder.positionalsMethods in picocli that return CommandLine.Model.PositionalParamSpecModifier and TypeMethodDescriptionCommandLine.Model.PositionalParamSpec.Builder.build()Returns a validPositionalParamSpecinstance.CommandLine.ParseResult.matchedPositional(int position) Returns the firstPositionalParamSpecthat matched an argument at the specified position, ornullif no positional parameters were matched at that position.Methods in picocli that return types with arguments of type CommandLine.Model.PositionalParamSpecModifier and TypeMethodDescriptionCommandLine.Model.ArgGroupSpec.addGroupPositionalsToListRecursively(List<CommandLine.Model.PositionalParamSpec> result) CommandLine.Model.ArgGroupSpec.allPositionalParametersNested()Returns all positional parameters configured for this group and all subgroups.CommandLine.Help.excludeHiddenAndGroupParams(List<CommandLine.Model.PositionalParamSpec> all) CommandLine.ParseResult.matchedPositionals()Returns a list of matched positional parameters, in order they were matched on the command line.CommandLine.ParseResult.matchedPositionals(int position) Returns allPositionalParamSpecobjects that matched an argument at the specified position, or an empty list if no positional parameters were matched at that position.CommandLine.ParseResult.matchedPositionalsSet()Returns a set of matched positional parameters.(package private) List<CommandLine.Model.PositionalParamSpec> CommandLine.Help.positionalParameters()CommandLine.Model.ArgGroupSpec.positionalParameters()Returns the list of positional parameters configured for this group.CommandLine.Model.CommandSpec.positionalParameters()Returns the list of positional parameters configured for this command.Methods in picocli with parameters of type CommandLine.Model.PositionalParamSpecModifier and TypeMethodDescriptionprivate static voidAutoComplete.addCandidatesForArgsFollowing(CommandLine.Model.PositionalParamSpec positionalSpec, List<CharSequence> candidates) CommandLine.Model.CommandSpec.addPositional(CommandLine.Model.PositionalParamSpec positional) Adds the specified positional parameter spec to the list of configured arguments to expect.CommandLine.ParseResult.Builder.addPositionalParam(CommandLine.Model.PositionalParamSpec positionalParam, int position) Adds the specifiedPositionalParamSpecto the list of parameters that were matched on the command line.voidCommandLine.Help.Layout.addPositionalParameter(CommandLine.Model.PositionalParamSpec param, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) Delegates to theparameter rendererof this layout to obtain text values for the specified positional parameter, and then callsCommandLine.Help.Layout.layout(CommandLine.Model.ArgSpec, CommandLine.Help.Ansi.Text[][])to write these text values into the correct cells in the TextTable.private voidCommandLine.Model.CommandSpec.adjustRelativeIndices(CommandLine.Model.PositionalParamSpec newlyAdded) Adjusts the index of the new positional param and all others with relative indices that were sorted after this positional.CommandLine.Model.PositionalParamSpec.builder(CommandLine.Model.PositionalParamSpec original) Returns a Builder initialized from the specifiedPositionalSpec.(package private) booleanCommandLine.ParseResult.GroupMatchContainer.canMatchPositionalParam(CommandLine.Model.PositionalParamSpec positionalParam) (package private) static CommandLine.Help.Ansi.TextCommandLine.Help.concatPositionalText(String prefix, CommandLine.Help.Ansi.Text text, CommandLine.Help.ColorScheme colorScheme, CommandLine.Model.PositionalParamSpec positionalParam, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer) private CommandLine.Help.Ansi.TextCommandLine.Model.ArgGroupSpec.concatPositionalText(String prefix, CommandLine.Help.Ansi.Text text, CommandLine.Help.ColorScheme colorScheme, CommandLine.Model.PositionalParamSpec positionalParam) private static CommandLine.Model.CommandSpecAutoComplete.findCommandFor(CommandLine.Model.PositionalParamSpec positional, CommandLine.Model.CommandSpec commandSpec) private static voidAutoComplete.generatePositionParamCompletionCandidates(StringBuilder buff, CommandLine.Model.PositionalParamSpec f) booleanCommandLine.ParseResult.hasMatchedPositional(CommandLine.Model.PositionalParamSpec positional) Returns whether the specified positional parameter was matched on the command line.private <T> TCommandLine.ParseResult.matchedPositionalValue(CommandLine.Model.PositionalParamSpec positional, T defaultValue) Returns the command line argument value of the specified positional parameter, converted to the type of the positional parameter, or the specified default value if the specified positional parameter isnull.private StringCommandLine.PropertiesDefaultProvider.positionalDefaultValue(CommandLine.Model.PositionalParamSpec positional) CommandLine.Help.DefaultParameterRenderer.render(CommandLine.Model.PositionalParamSpec param, CommandLine.Help.IParamLabelRenderer paramLabelRenderer, CommandLine.Help.ColorScheme scheme) CommandLine.Help.IParameterRenderer.render(CommandLine.Model.PositionalParamSpec param, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) Returns a text representation of the specified positional parameter.CommandLine.Help.MinimalParameterRenderer.render(CommandLine.Model.PositionalParamSpec param, CommandLine.Help.IParamLabelRenderer parameterLabelRenderer, CommandLine.Help.ColorScheme scheme) Method parameters in picocli with type arguments of type CommandLine.Model.PositionalParamSpecModifier and TypeMethodDescriptionvoidCommandLine.Help.Layout.addAllPositionalParameters(List<CommandLine.Model.PositionalParamSpec> params, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) CallsCommandLine.Help.Layout.addPositionalParameter(CommandLine.Model.PositionalParamSpec, CommandLine.Help.IParamLabelRenderer)for all positional parameters in the specified list.CommandLine.Model.ArgGroupSpec.addGroupPositionalsToListRecursively(List<CommandLine.Model.PositionalParamSpec> result) voidCommandLine.Help.Layout.addPositionalParameters(List<CommandLine.Model.PositionalParamSpec> params, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) CallsCommandLine.Help.Layout.addPositionalParameter(CommandLine.Model.PositionalParamSpec, CommandLine.Help.IParamLabelRenderer)for all non-hidden Parameters in the list.private static StringCommandLine.createMissingParameterMessage(CommandLine.Model.ArgSpec argSpec, CommandLine.Range arity, List<CommandLine.Model.PositionalParamSpec> missingList, Stack<String> args, int available) CommandLine.Help.excludeHiddenAndGroupParams(List<CommandLine.Model.PositionalParamSpec> all) private static StringAutoComplete.generatePositionalParamsCases(List<CommandLine.Model.PositionalParamSpec> posParams, String indent, String currWord) CommandLine.Help.parameterList(List<CommandLine.Model.PositionalParamSpec> positionalParams) Returns the rendered positional parameters section of the usage help message for the specified positional parameters.CommandLine.Help.parameterList(List<CommandLine.Model.PositionalParamSpec> positionalParams, CommandLine.Help.Layout layout, CommandLine.Help.IParamLabelRenderer paramLabelRenderer) Returns the rendered section of the usage help message that lists the specified parameters with their descriptions.private static voidCommandLine.validatePositionalParameters(List<CommandLine.Model.PositionalParamSpec> positionals) Constructors in picocli with parameters of type CommandLine.Model.PositionalParamSpec