Package org.jboss.galleon.cli
Class PmSessionCommand
- java.lang.Object
-
- org.jboss.galleon.cli.PmSessionCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<PmCommandInvocation>
- Direct Known Subclasses:
AbstractFeaturePackCommand,AbstractInstallationCommand,AbstractStateCommand,CdCommand,ClearCacheCommand,FindCommand,HelpCommand,ImportCommand,ListFeaturePacksCommand,MavenAddRepository,MavenEnableOffline,MavenEnableRelease,MavenEnableSnapshot,MavenGetInfo,MavenRemoveRepository,MavenResetLocalRepository,MavenResetOffline,MavenResetRelease,MavenResetReleasePolicy,MavenResetSettings,MavenResetSnapshot,MavenResetSnapshotPolicy,MavenResolveFeaturePack,MavenSetLocalRepository,MavenSetReleasePolicy,MavenSetSettings,MavenSetSnapshotPolicy,PmExitCommand,StateAddUniverseCommand,StateCdCommand,StateEditCommand,StateExportCommand,StateGetInfoCommand,StateLeaveCommand,StateLsCommand,StateNewCommand,StatePwdCommand,StateRemoveUniverseCommand,StateSearchCommand,StateUndoCommand
public abstract class PmSessionCommand extends java.lang.Object implements org.aesh.command.Command<PmCommandInvocation>
- Author:
- Alexey Loubyansky
-
-
Constructor Summary
Constructors Constructor Description PmSessionCommand()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.aesh.command.CommandResultexecute(PmCommandInvocation session)CommandDomaingetDomain()static voidhandleException(PmCommandInvocation session, java.lang.Throwable t)protected abstract voidrunCommand(PmCommandInvocation session)
-
-
-
Method Detail
-
execute
public org.aesh.command.CommandResult execute(PmCommandInvocation session) throws org.aesh.command.CommandException
- Specified by:
executein interfaceorg.aesh.command.Command<PmCommandInvocation>- Throws:
org.aesh.command.CommandException
-
handleException
public static void handleException(PmCommandInvocation session, java.lang.Throwable t) throws org.aesh.command.CommandException
- Throws:
org.aesh.command.CommandException
-
runCommand
protected abstract void runCommand(PmCommandInvocation session) throws CommandExecutionException
- Throws:
CommandExecutionException
-
getDomain
public CommandDomain getDomain()
-
-