public abstract class AbstractStateCommand extends PmSessionCommand implements CommandWithInstallationDirectory
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractStateCommand.DirActivator |
| Modifier and Type | Field and Description |
|---|---|
static String |
DIR_OPTION_NAME |
protected String |
targetDirArg |
static String |
VERBOSE_OPTION_NAME |
| Constructor and Description |
|---|
AbstractStateCommand() |
| Modifier and Type | Method and Description |
|---|---|
FeatureContainer |
getFeatureContainer(PmSession session,
ProvisioningLayout<FeaturePackLayout> layout) |
Path |
getInstallationDirectory(org.aesh.readline.AeshContext context) |
protected ProvisioningManager |
getManager(PmSession session) |
protected ProvisioningConfig |
getProvisioningConfig(PmSession session) |
execute, handleException, runCommandpublic static final String DIR_OPTION_NAME
public static final String VERBOSE_OPTION_NAME
protected String targetDirArg
protected ProvisioningManager getManager(PmSession session) 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
Copyright © 2016–2018 JBoss by Red Hat. All rights reserved.