Uses of Class
picocli.CommandLine.ParseResult.Builder
-
Uses of CommandLine.ParseResult.Builder in picocli
Fields in picocli declared as CommandLine.ParseResult.BuilderModifier and TypeFieldDescriptionprivate CommandLine.ParseResult.BuilderCommandLine.Interpreter.parseResultBuilderMethods in picocli that return CommandLine.ParseResult.BuilderModifier and TypeMethodDescriptionCommandLine.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.ParseResult.Builder.addOption(CommandLine.Model.OptionSpec option) Adds the specifiedOptionSpecto the list of options that were matched on the command line.CommandLine.ParseResult.Builder.addPositionalParam(CommandLine.Model.PositionalParamSpec positionalParam, int position) Adds the specifiedPositionalParamSpecto the list of parameters that were matched on the command line.private CommandLine.ParseResult.BuilderCommandLine.ParseResult.Builder.addUnmatched(int position, String arg) Adds the specified command line argument to the list of unmatched command line arguments, and remembers the position of this argument.CommandLine.ParseResult.Builder.addUnmatched(String arg) Adds the specified command line argument to the list of unmatched command line arguments.CommandLine.ParseResult.Builder.addUnmatched(Stack<String> args) Adds all elements of the specified command line arguments stack to the list of unmatched command line arguments.CommandLine.ParseResult.builder(CommandLine.Model.CommandSpec commandSpec) Creates and returns a newParseResult.Builderfor the specified command spec.CommandLine.ParseResult.Builder.expandedArgs(Collection<String> expandedArgs) Sets the specified command line arguments after @-files were expanded; these are the arguments that were actually parsed.CommandLine.ParseResult.Builder.originalArgs(String[] originalArgs) Sets the specified original command line arguments that were passed to theCommandLine.parseArgs(String...)method, before @-file expansion.CommandLine.ParseResult.Builder.subcommand(CommandLine.ParseResult subcommand) Sets the specifiedParseResultfor a subcommand that was matched on the command line.Methods in picocli with parameters of type CommandLine.ParseResult.BuilderModifier and TypeMethodDescriptionprivate voidCommandLine.Interpreter.processSubcommand(CommandLine subcommand, CommandLine.ParseResult.Builder builder, List<CommandLine> parsedCommands, Stack<String> args, Collection<CommandLine.Model.ArgSpec> required, Set<CommandLine.Model.ArgSpec> initialized, String[] originalArgs, List<Object> nowProcessing, String separator, String arg) Constructors in picocli with parameters of type CommandLine.ParseResult.Builder