public abstract class APIMCoreCLIOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.cli.CommandLine |
cmd
This cmd contains all options visible in the usage when using help
|
protected String |
executable |
protected org.apache.commons.cli.CommandLine |
internalCmd
This CommandLine contains support, but hidden commands.
|
protected org.apache.commons.cli.Options |
internalOptions |
protected org.apache.commons.cli.Options |
options |
protected org.apache.commons.cli.CommandLineParser |
parser |
| Constructor and Description |
|---|
APIMCoreCLIOptions(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getAppName() |
protected String |
getBinaryName() |
org.apache.commons.cli.CommandLine |
getCmd() |
org.apache.commons.cli.CommandLine |
getInternalCmd() |
org.apache.commons.cli.Options |
getInternalOptions() |
org.apache.commons.cli.Options |
getOptions() |
void |
printUsage(String message,
String[] args) |
protected org.apache.commons.cli.Options options
protected org.apache.commons.cli.Options internalOptions
protected org.apache.commons.cli.CommandLineParser parser
protected String executable
protected org.apache.commons.cli.CommandLine cmd
protected org.apache.commons.cli.CommandLine internalCmd
public APIMCoreCLIOptions(String[] args)
protected abstract String getAppName()
protected String getBinaryName()
public org.apache.commons.cli.CommandLine getCmd()
public org.apache.commons.cli.CommandLine getInternalCmd()
public org.apache.commons.cli.Options getOptions()
public org.apache.commons.cli.Options getInternalOptions()
Copyright © 2020. All rights reserved.