public class StateAddFeatureCommand extends AbstractDynamicCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
StateAddFeatureCommand.AddArgumentsCompleter |
static class |
StateAddFeatureCommand.FeatureSpecIdCompleter |
AbstractDynamicCommand.DynamicOptionARGUMENT_NAME, pmSession| Constructor and Description |
|---|
StateAddFeatureCommand(PmSession pmSession) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doValidateOptions() |
protected PmCommandActivator |
getActivator() |
protected String |
getDescription() |
protected List<AbstractDynamicCommand.DynamicOption> |
getDynamicOptions(State state,
String id) |
protected String |
getId(PmSession session) |
protected String |
getName() |
protected List<org.aesh.command.impl.internal.ProcessedOption> |
getStaticOptions() |
protected void |
runCommand(PmCommandInvocation session,
Map<String,String> options) |
checkForRequiredOptions, createCommand, execute, getArgumentsValues, getArgumentValue, getOptionValuepublic StateAddFeatureCommand(PmSession pmSession)
protected void runCommand(PmCommandInvocation session, Map<String,String> options) throws CommandExecutionException
runCommand in class AbstractDynamicCommandCommandExecutionExceptionprotected String getName()
getName in class AbstractDynamicCommandprotected String getDescription()
getDescription in class AbstractDynamicCommandprotected String getId(PmSession session)
getId in class AbstractDynamicCommandprotected void doValidateOptions()
throws CommandExecutionException
doValidateOptions in class AbstractDynamicCommandCommandExecutionExceptionprotected List<AbstractDynamicCommand.DynamicOption> getDynamicOptions(State state, String id) throws Exception
getDynamicOptions in class AbstractDynamicCommandExceptionprotected List<org.aesh.command.impl.internal.ProcessedOption> getStaticOptions() throws org.aesh.command.parser.OptionParserException
getStaticOptions in class AbstractDynamicCommandorg.aesh.command.parser.OptionParserExceptionprotected PmCommandActivator getActivator()
getActivator in class AbstractDynamicCommandCopyright © 2016–2018 JBoss by Red Hat. All rights reserved.