Package | Description |
---|---|
org.apache.storm.command |
Modifier and Type | Field and Description |
---|---|
static CLI.Parse |
CLI.AS_INT
Parse function to return an Integer.
|
static CLI.Parse |
CLI.AS_STRING
Noop parse function, returns the String.
|
Modifier and Type | Method and Description |
---|---|
static CLI.CLIBuilder |
CLI.arg(String name,
CLI.Parse parse)
Add a named argument.
|
CLI.CLIBuilder |
CLI.CLIBuilder.arg(String name,
CLI.Parse parse)
Add a named argument.
|
static CLI.CLIBuilder |
CLI.arg(String name,
CLI.Parse parse,
CLI.Assoc assoc)
Add a named argument.
|
CLI.CLIBuilder |
CLI.CLIBuilder.arg(String name,
CLI.Parse parse,
CLI.Assoc assoc)
Add a named argument.
|
static CLI.CLIBuilder |
CLI.opt(String shortName,
String longName,
Object defaultValue,
CLI.Parse parse)
Add an option to be parsed.
|
CLI.CLIBuilder |
CLI.CLIBuilder.opt(String shortName,
String longName,
Object defaultValue,
CLI.Parse parse)
Add an option to be parsed.
|
static CLI.CLIBuilder |
CLI.opt(String shortName,
String longName,
Object defaultValue,
CLI.Parse parse,
CLI.Assoc assoc)
Add an option to be parsed.
|
CLI.CLIBuilder |
CLI.CLIBuilder.opt(String shortName,
String longName,
Object defaultValue,
CLI.Parse parse,
CLI.Assoc assoc)
Add an option to be parsed.
|
static CLI.CLIBuilder |
CLI.optionalArg(String name,
CLI.Parse parse)
Add a named argument that is optional.
|
CLI.CLIBuilder |
CLI.CLIBuilder.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.
|
CLI.CLIBuilder |
CLI.CLIBuilder.optionalArg(String name,
CLI.Parse parse,
CLI.Assoc assoc)
Add a named argument that is optional.
|
Copyright © 2020 The Apache Software Foundation. All rights reserved.