Package org.wildfly.prospero.actions
Class InstallationHistoryAction
- java.lang.Object
-
- org.wildfly.prospero.actions.InstallationHistoryAction
-
public class InstallationHistoryAction extends Object
-
-
Constructor Summary
Constructors Constructor Description InstallationHistoryAction(Path installation, Console console)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallationChangesgetChangesSinceRevision(SavedState savedState)InstallationChangesgetRevisionChanges(SavedState savedState)gets a list of changes related to thesavedState.List<SavedState>getRevisions()voidprepareRevert(SavedState savedState, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> overrideRepositories, Path targetDir)voidrollback(SavedState savedState, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> overrideRepositories)
-
-
-
Method Detail
-
getRevisionChanges
public InstallationChanges getRevisionChanges(SavedState savedState) throws MetadataException
gets a list of changes related to thesavedState.- Parameters:
savedState-- Returns:
- Throws:
MetadataException
-
getChangesSinceRevision
public InstallationChanges getChangesSinceRevision(SavedState savedState) throws MetadataException
- Throws:
MetadataException
-
getRevisions
public List<SavedState> getRevisions() throws MetadataException
- Throws:
MetadataException
-
rollback
public void rollback(SavedState savedState, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> overrideRepositories) throws OperationException, org.jboss.galleon.ProvisioningException
- Throws:
OperationExceptionorg.jboss.galleon.ProvisioningException
-
prepareRevert
public void prepareRevert(SavedState savedState, MavenOptions mavenOptions, List<org.wildfly.channel.Repository> overrideRepositories, Path targetDir) throws OperationException, org.jboss.galleon.ProvisioningException
- Throws:
OperationExceptionorg.jboss.galleon.ProvisioningException
-
-