public class CliOptionsParser extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.commons.cli.Option |
OPTION_DEFAULTS |
static org.apache.commons.cli.Option |
OPTION_ENVIRONMENT |
static org.apache.commons.cli.Option |
OPTION_FILE |
static org.apache.commons.cli.Option |
OPTION_HELP |
static org.apache.commons.cli.Option |
OPTION_HISTORY |
static org.apache.commons.cli.Option |
OPTION_INIT_FILE |
static org.apache.commons.cli.Option |
OPTION_JAR |
static org.apache.commons.cli.Option |
OPTION_LIBRARY |
static org.apache.commons.cli.Option |
OPTION_SESSION |
static org.apache.commons.cli.Option |
OPTION_UPDATE
Deprecated.
|
Constructor and Description |
---|
CliOptionsParser() |
Modifier and Type | Method and Description |
---|---|
static void |
checkFilePath(String filePath) |
static org.apache.commons.cli.Options |
getEmbeddedModeClientOptions(org.apache.commons.cli.Options options) |
static org.apache.commons.cli.Options |
getGatewayModeClientOptions(org.apache.commons.cli.Options options) |
static org.apache.commons.cli.Options |
getGatewayModeGatewayOptions(org.apache.commons.cli.Options options) |
static CliOptions |
parseEmbeddedModeClient(String[] args) |
static CliOptions |
parseGatewayModeClient(String[] args) |
static CliOptions |
parseGatewayModeGateway(String[] args) |
static void |
printHelpClient()
Prints the help for the client.
|
static void |
printHelpEmbeddedModeClient() |
static void |
printHelpGateway()
Prints the help for the gateway.
|
static void |
printHelpGatewayModeClient() |
static void |
printHelpGatewayModeGateway() |
public static final org.apache.commons.cli.Option OPTION_HELP
public static final org.apache.commons.cli.Option OPTION_SESSION
public static final org.apache.commons.cli.Option OPTION_ENVIRONMENT
public static final org.apache.commons.cli.Option OPTION_INIT_FILE
public static final org.apache.commons.cli.Option OPTION_FILE
public static final org.apache.commons.cli.Option OPTION_DEFAULTS
public static final org.apache.commons.cli.Option OPTION_JAR
public static final org.apache.commons.cli.Option OPTION_LIBRARY
@Deprecated public static final org.apache.commons.cli.Option OPTION_UPDATE
public static final org.apache.commons.cli.Option OPTION_HISTORY
public static org.apache.commons.cli.Options getEmbeddedModeClientOptions(org.apache.commons.cli.Options options)
public static org.apache.commons.cli.Options getGatewayModeClientOptions(org.apache.commons.cli.Options options)
public static org.apache.commons.cli.Options getGatewayModeGatewayOptions(org.apache.commons.cli.Options options)
public static void printHelpClient()
public static void printHelpGateway()
public static void printHelpEmbeddedModeClient()
public static void printHelpGatewayModeClient()
public static void printHelpGatewayModeGateway()
public static CliOptions parseEmbeddedModeClient(String[] args)
public static CliOptions parseGatewayModeClient(String[] args)
public static CliOptions parseGatewayModeGateway(String[] args)
public static void checkFilePath(String filePath)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.