Modifier and Type | Class and Description |
---|---|
class |
RppOption
Concrete IRppOption class.
|
Modifier and Type | Method and Description |
---|---|
static IRppOption |
RppOption.createCommandOption(java.lang.String optionName,
java.lang.String optionShortcut,
java.lang.String optionComments)
Creates a new command option.
|
static IRppOption |
RppOption.createOption(java.lang.String optionName,
java.lang.String optionShortcut,
java.lang.String optionComments,
boolean isBoolean,
boolean isRepeated,
boolean isRequired,
java.lang.String[] allowedValues)
Creates a new sub command option.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IRppOption> |
IRppSubCommand.getOptionsForSubCommand(IRppOption subCommandOption)
Returns the list of options for this sub command option.
|
java.util.List<IRppOption> |
IRppSubCommand.getSubCommandOptions()
Returns the list of sub commands options handled by this extension.
|
Modifier and Type | Method and Description |
---|---|
IRppSubCommandResult |
IRppSubCommand.execute(IRppOption subCommandOption,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> subCommandOptionsValues,
java.util.logging.Logger logger)
Executes the command for this command option.
|
java.util.List<IRppOption> |
IRppSubCommand.getOptionsForSubCommand(IRppOption subCommandOption)
Returns the list of options for this sub command option.
|
boolean |
IRppSubCommand.validate(IRppOption subCommandOption,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> subCommandOptionsValues)
Validates the command command option values for this option.
|