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) |
Path |
getInstallationDirectory(org.aesh.readline.AeshContext context) |
protected ProvisioningManager |
getManager(PmSession session) |
protected String |
getName() |
execute, handleException, runCommandpublic static final String DIR_OPTION_NAME
public static final String VERBOSE_OPTION_NAME
protected String targetDirArg
protected String getName()
protected ProvisioningManager getManager(PmSession session) throws ProvisioningException
ProvisioningExceptionpublic Path getInstallationDirectory(org.aesh.readline.AeshContext context)
getInstallationDirectory in interface CommandWithInstallationDirectorypublic FeatureContainer getFeatureContainer(PmSession session) throws ProvisioningException, Exception
ProvisioningExceptionExceptionCopyright © 2016–2018 JBoss by Red Hat. All rights reserved.