Uses of Interface
org.apache.storm.command.CLI.Assoc
-
Uses of CLI.Assoc in org.apache.storm.command
Modifier and TypeFieldDescriptionstatic final CLI.Assoc
CLI.FIRST_WINS
First occurrence on the command line is the resulting value.static final CLI.Assoc
CLI.INTO_LIST
All values are returned as a List.static final CLI.Assoc
CLI.INTO_MAP
All values are returned as a map.static final CLI.Assoc
CLI.LAST_WINS
Last occurrence on the command line is the resulting value.Modifier and TypeMethodDescriptionstatic CLI.CLIBuilder
Add a named argument.static CLI.CLIBuilder
Add a named argument.Add a named argument.Add a named argument.CLI.CLIBuilder.opt
(String shortName, String longName, Object defaultValue, CLI.Parse parse, CLI.Assoc assoc) Add an option to be parsed.static CLI.CLIBuilder
Add an option to be parsed.CLI.CLIBuilder.optionalArg
(String name, CLI.Assoc assoc) Add a named argument that is optional.CLI.CLIBuilder.optionalArg
(String name, CLI.Parse parse, CLI.Assoc assoc) Add a named argument that is optional.static CLI.CLIBuilder
CLI.optionalArg
(String name, CLI.Assoc assoc) Add a named argument that is optional.static CLI.CLIBuilder
CLI.optionalArg
(String name, CLI.Parse parse, CLI.Assoc assoc) Add a named argument that is optional.