Uses of Interface
org.apache.storm.command.CLI.Parse
-
Uses of CLI.Parse in org.apache.storm.command
Modifier and TypeFieldDescriptionstatic final CLI.Parse
CLI.AS_INT
Parse function to return an Integer.static final CLI.Parse
CLI.AS_STRING
Noop parse function, returns the String.Modifier and TypeMethodDescriptionstatic CLI.CLIBuilder
Add a named argument.static CLI.CLIBuilder
Add a named argument.Add a named argument.Add a named argument.Add an option to be parsed.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.static CLI.CLIBuilder
Add an option to be parsed.CLI.CLIBuilder.optionalArg
(String name, CLI.Parse parse) 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.Parse parse) 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.