public class InstallCommand extends AbstractPluginsCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
InstallCommand.LayersCompleter |
AbstractDynamicCommand.DynamicOption| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIG_OPTION_NAME |
static String |
DEFAULT_CONFIGS_OPTION_NAME |
static String |
FILE_OPTION_NAME |
static String |
LAYERS_OPTION_NAME |
ARGUMENT_NAME, pmSession| Constructor and Description |
|---|
InstallCommand(PmSession pmSession) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canComplete(PmSession pmSession) |
protected void |
doValidateOptions(PmCommandInvocation invoc) |
protected PmCommandActivator |
getActivator() |
protected org.aesh.command.activator.OptionActivator |
getArgumentActivator() |
protected String |
getDescription() |
CommandDomain |
getDomain() |
protected String |
getId(PmSession session) |
Path |
getInstallationDirectory(org.aesh.readline.AeshContext context) |
protected String |
getName() |
protected List<org.aesh.command.impl.internal.ProcessedOption> |
getOtherOptions() |
protected Set<ProvisioningOption> |
getPluginOptions(FeaturePackLocation loc) |
protected void |
runCommand(PmCommandInvocation session,
Map<String,String> options,
FeaturePackLocation loc) |
getDynamicOptions, getManager, getStaticOptions, isVerbose, runCommandcheckForRequiredOptions, createCommand, execute, getArgumentsValues, getArgumentValue, getOptionValuepublic static final String FILE_OPTION_NAME
public static final String LAYERS_OPTION_NAME
public static final String DEFAULT_CONFIGS_OPTION_NAME
public static final String CONFIG_OPTION_NAME
public InstallCommand(PmSession pmSession)
protected void runCommand(PmCommandInvocation session, Map<String,String> options, FeaturePackLocation loc) throws CommandExecutionException
runCommand in class AbstractPluginsCommandCommandExecutionExceptionprotected Set<ProvisioningOption> getPluginOptions(FeaturePackLocation loc) throws ProvisioningException
getPluginOptions in class AbstractPluginsCommandProvisioningExceptionprotected String getName()
getName in class AbstractDynamicCommandprotected String getDescription()
getDescription in class AbstractDynamicCommandprotected List<org.aesh.command.impl.internal.ProcessedOption> getOtherOptions() throws org.aesh.command.parser.OptionParserException
getOtherOptions in class AbstractPluginsCommandorg.aesh.command.parser.OptionParserExceptionprotected String getId(PmSession session) throws CommandExecutionException
getId in class AbstractPluginsCommandCommandExecutionExceptionprotected org.aesh.command.activator.OptionActivator getArgumentActivator()
getArgumentActivator in class AbstractPluginsCommandprotected void doValidateOptions(PmCommandInvocation invoc) throws CommandExecutionException
doValidateOptions in class AbstractPluginsCommandCommandExecutionExceptionprotected boolean canComplete(PmSession pmSession)
canComplete in class AbstractDynamicCommandpublic Path getInstallationDirectory(org.aesh.readline.AeshContext context)
protected PmCommandActivator getActivator()
getActivator in class AbstractDynamicCommandpublic CommandDomain getDomain()
getDomain in class AbstractDynamicCommandCopyright © 2016–2019 JBoss by Red Hat. All rights reserved.