public abstract class AbstractProvisioningCommand extends PmSessionCommand implements CommandWithInstallationDirectory
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractProvisioningCommand.DirActivator |
| Modifier and Type | Field and Description |
|---|---|
static String |
DIR_OPTION_NAME |
protected File |
targetDirArg |
static String |
VERBOSE_OPTION_NAME |
| Constructor and Description |
|---|
AbstractProvisioningCommand() |
| Modifier and Type | Method and Description |
|---|---|
CommandDomain |
getDomain() |
FeatureContainer |
getFeatureContainer(PmSession session,
ProvisioningLayout<FeaturePackLayout> layout) |
Path |
getInstallationDirectory(org.aesh.readline.AeshContext context) |
protected ProvisioningManager |
getManager(PmSession session,
boolean verbose) |
protected ProvisioningConfig |
getProvisioningConfig(PmSession session) |
execute, handleException, runCommandpublic static final String DIR_OPTION_NAME
public static final String VERBOSE_OPTION_NAME
protected File targetDirArg
protected ProvisioningManager getManager(PmSession session, boolean verbose) throws ProvisioningException
ProvisioningExceptionpublic Path getInstallationDirectory(org.aesh.readline.AeshContext context)
getInstallationDirectory in interface CommandWithInstallationDirectorypublic FeatureContainer getFeatureContainer(PmSession session, ProvisioningLayout<FeaturePackLayout> layout) throws ProvisioningException, CommandExecutionException, IOException
protected ProvisioningConfig getProvisioningConfig(PmSession session) throws ProvisioningException, CommandExecutionException
public CommandDomain getDomain()
getDomain in class PmSessionCommandCopyright © 2016–2018 JBoss by Red Hat. All rights reserved.