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 voidapplyRevert(Path updateDirectory)InstallationChangescompare(SavedState savedState)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
-
compare
public InstallationChanges compare(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
-
applyRevert
public void applyRevert(Path updateDirectory) throws OperationException, org.jboss.galleon.ProvisioningException
- Throws:
OperationExceptionorg.jboss.galleon.ProvisioningException
-
-