public abstract class AbstractProvisionWithPlugins extends AbstractDynamicCommand implements CommandWithInstallationDirectory
AbstractDynamicCommand.DynamicOptionARGUMENT_NAME, pmSession| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProvisionWithPlugins(PmSession pmSession) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doRunCommand(PmCommandInvocation session,
Map<String,String> options) |
protected Path |
getAbsolutePath(String path,
org.aesh.readline.AeshContext context) |
protected PmCommandActivator |
getActivator() |
protected String |
getDir() |
protected String |
getId(PmSession session) |
Path |
getInstallationDirectory(org.aesh.readline.AeshContext context) |
protected ProvisioningManager |
getManager(PmCommandInvocation session) |
protected abstract List<org.aesh.command.impl.internal.ProcessedOption> |
getOtherOptions() |
protected List<org.aesh.command.impl.internal.ProcessedOption> |
getStaticOptions() |
protected boolean |
isVerbose() |
protected void |
runCommand(PmCommandInvocation session,
Map<String,String> options) |
checkForRequiredOptions, createCommand, doValidateOptions, execute, getArgumentsValues, getArgumentValue, getDescription, getDynamicOptions, getName, getOptionValueprotected AbstractProvisionWithPlugins(PmSession pmSession)
protected String getId(PmSession session) throws CommandExecutionException
getId in class AbstractDynamicCommandCommandExecutionExceptionprotected abstract List<org.aesh.command.impl.internal.ProcessedOption> getOtherOptions() throws org.aesh.command.parser.OptionParserException
org.aesh.command.parser.OptionParserExceptionprotected List<org.aesh.command.impl.internal.ProcessedOption> getStaticOptions() throws org.aesh.command.parser.OptionParserException
getStaticOptions in class AbstractDynamicCommandorg.aesh.command.parser.OptionParserExceptionprotected boolean isVerbose()
protected String getDir()
protected ProvisioningManager getManager(PmCommandInvocation session) throws ProvisioningException
ProvisioningExceptionpublic Path getInstallationDirectory(org.aesh.readline.AeshContext context)
getInstallationDirectory in interface CommandWithInstallationDirectoryprotected abstract void doRunCommand(PmCommandInvocation session, Map<String,String> options) throws CommandExecutionException
CommandExecutionExceptionprotected void runCommand(PmCommandInvocation session, Map<String,String> options) throws CommandExecutionException
runCommand in class AbstractDynamicCommandCommandExecutionExceptionprotected PmCommandActivator getActivator()
getActivator in class AbstractDynamicCommandCopyright © 2016–2018 JBoss by Red Hat. All rights reserved.