Class AbstractInstallationCommand
- java.lang.Object
-
- org.jboss.galleon.cli.PmSessionCommand
-
- org.jboss.galleon.cli.cmd.installation.AbstractInstallationCommand
-
- All Implemented Interfaces:
org.aesh.command.Command<PmCommandInvocation>,CommandWithInstallationDirectory
- Direct Known Subclasses:
CheckUpdatesCommand,ClearHistoryCommand,ExportCommand,GetChangesCommand,GetHistoryLimitCommand,GetInfoCommand,PersistChangesCommand,SetHistoryLimitCommand
public abstract class AbstractInstallationCommand extends PmSessionCommand implements CommandWithInstallationDirectory
- Author:
- jdenise@redhat.com
-
-
Field Summary
Fields Modifier and Type Field Description protected java.io.FiletargetDirArg
-
Constructor Summary
Constructors Constructor Description AbstractInstallationCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureContainergetFeatureContainer(PmSession session, org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> layout)java.nio.file.PathgetInstallationDirectory(org.aesh.readline.AeshContext context)protected org.jboss.galleon.ProvisioningManagergetManager(PmSession session)-
Methods inherited from class org.jboss.galleon.cli.PmSessionCommand
execute, getDomain, handleException, runCommand
-
-
-
-
Method Detail
-
getManager
protected org.jboss.galleon.ProvisioningManager getManager(PmSession session) throws org.jboss.galleon.ProvisioningException
- Throws:
org.jboss.galleon.ProvisioningException
-
getInstallationDirectory
public java.nio.file.Path getInstallationDirectory(org.aesh.readline.AeshContext context)
- Specified by:
getInstallationDirectoryin interfaceCommandWithInstallationDirectory
-
getFeatureContainer
public FeatureContainer getFeatureContainer(PmSession session, org.jboss.galleon.layout.ProvisioningLayout<org.jboss.galleon.layout.FeaturePackLayout> layout) throws org.jboss.galleon.ProvisioningException, CommandExecutionException, java.io.IOException
- Throws:
org.jboss.galleon.ProvisioningExceptionCommandExecutionExceptionjava.io.IOException
-
-