| Package | Description |
|---|---|
| com.vmware.vapi.metadata.cli |
The
com.vmware.vapi.metadata.cli package provides interfaces that expose
all the information required to display namespace or command help, execute a
command and display it's result. |
| Modifier and Type | Field and Description |
|---|---|
static CommandTypes.GenericType |
CommandTypes.GenericType.LIST
Input parameter is a list.
|
static CommandTypes.GenericType |
CommandTypes.GenericType.LIST_OPTIONAL
Input parameter is a list of optionals.
|
static CommandTypes.GenericType |
CommandTypes.GenericType.NONE
Default case.
|
static CommandTypes.GenericType |
CommandTypes.GenericType.OPTIONAL
Input parameter is an optional.
|
static CommandTypes.GenericType |
CommandTypes.GenericType.OPTIONAL_LIST
Input parameter is an optional of type list.
|
| Modifier and Type | Method and Description |
|---|---|
CommandTypes.GenericType |
CommandTypes.OptionInfo.getGeneric()
This is used to tell the user whether the option is required or optional, or
whether they can specify the option multiple times.
|
static CommandTypes.GenericType |
CommandTypes.GenericType.valueOf(String name)
Returns the enumeration constant for the specified name.
|
static CommandTypes.GenericType[] |
CommandTypes.GenericType.values()
Retrieve all enumeration constants pre-defined by this enumeration class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CommandTypes.OptionInfo.setGeneric(CommandTypes.GenericType generic)
This is used to tell the user whether the option is required or optional, or
whether they can specify the option multiple times.
|
| Constructor and Description |
|---|
CommandTypes.OptionInfo.Builder(String longOption,
String fieldName,
String description,
String type,
CommandTypes.GenericType generic)
Constructor with parameters for the required properties of
CommandTypes.OptionInfo. |
Copyright © 2016. All Rights Reserved.