Package org.jboss.galleon.cli.cmd.state
Class AbstractStateCommand
- java.lang.Object
-
- org.jboss.galleon.cli.PmSessionCommand
-
- org.jboss.galleon.cli.cmd.state.AbstractStateCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<PmCommandInvocation>
- Direct Known Subclasses:
AbstractFPProvisionedCommand,AbstractFPProvisioningCommand,StateDefineConfigCommand,StateExcludeLayersCommand,StateIncludeLayersCommand,StateRemoveExcludedLayersCommand,StateRemoveFeatureCommand,StateRemoveFeaturePackCommand,StateRemoveIncludedLayersCommand,StateResetConfigCommand
public abstract class AbstractStateCommand extends PmSessionCommand
- Author:
- jdenise@redhat.com
-
-
Constructor Summary
Constructors Constructor Description AbstractStateCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidrunCommand(PmCommandInvocation invoc)protected abstract voidrunCommand(PmCommandInvocation invoc, State session)-
Methods inherited from class org.jboss.galleon.cli.PmSessionCommand
execute, getDomain, handleException
-
-
-
-
Method Detail
-
runCommand
protected void runCommand(PmCommandInvocation invoc) throws CommandExecutionException
- Specified by:
runCommandin classPmSessionCommand- Throws:
CommandExecutionException
-
runCommand
protected abstract void runCommand(PmCommandInvocation invoc, State session) throws java.io.IOException, org.jboss.galleon.ProvisioningException, CommandExecutionException
- Throws:
java.io.IOExceptionorg.jboss.galleon.ProvisioningExceptionCommandExecutionException
-
-