Package | Description |
---|---|
org.apache.storm.command |
Modifier and Type | Field and Description |
---|---|
static CLI.Assoc |
CLI.FIRST_WINS
First occurrence on the command line is the resulting value.
|
static CLI.Assoc |
CLI.INTO_LIST
All values are returned as a List.
|
static CLI.Assoc |
CLI.INTO_MAP
All values are returned as a map.
|
static CLI.Assoc |
CLI.LAST_WINS
Last occurrence on the command line is the resulting value.
|
Modifier and Type | Method and Description |
---|---|
static CLI.CLIBuilder |
CLI.arg(String name,
CLI.Assoc assoc)
Add a named argument.
|
CLI.CLIBuilder |
CLI.CLIBuilder.arg(String name,
CLI.Assoc assoc)
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,
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.Assoc assoc)
Add a named argument that is optional.
|
CLI.CLIBuilder |
CLI.CLIBuilder.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.
|
CLI.CLIBuilder |
CLI.CLIBuilder.optionalArg(String name,
CLI.Parse parse,
CLI.Assoc assoc)
Add a named argument that is optional.
|
Copyright © 2023 The Apache Software Foundation. All rights reserved.