Package org.wildfly.prospero.spi
Class ProsperoInstallationManager
java.lang.Object
org.wildfly.prospero.spi.ProsperoInstallationManager
- All Implemented Interfaces:
org.wildfly.installationmanager.spi.InstallationManager
public class ProsperoInstallationManager
extends Object
implements org.wildfly.installationmanager.spi.InstallationManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
ConstructorsModifierConstructorDescriptionProsperoInstallationManager(Path installationDir, org.wildfly.installationmanager.MavenOptions mavenOptions) protected -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChannel(org.wildfly.installationmanager.Channel channel) voidchangeChannel(org.wildfly.installationmanager.Channel newChannel) createSnapshot(Path targetPath) List<org.wildfly.installationmanager.ArtifactChange>findUpdates(List<org.wildfly.installationmanager.Repository> repositories) generateApplyRevertCommand(Path scriptHome, Path candidatePath) generateApplyRevertCommand(Path scriptHome, Path candidatePath, org.wildfly.installationmanager.spi.OsShell shell) generateApplyUpdateCommand(Path scriptHome, Path candidatePath) generateApplyUpdateCommand(Path scriptHome, Path candidatePath, org.wildfly.installationmanager.spi.OsShell shell) List<org.wildfly.installationmanager.HistoryResult>history()Collection<org.wildfly.installationmanager.Channel>voidprepareRevert(String revision, Path targetDir, List<org.wildfly.installationmanager.Repository> repositories) booleanprepareUpdate(Path targetDir, List<org.wildfly.installationmanager.Repository> repositories) voidremoveChannel(String channelName) org.wildfly.installationmanager.InstallationChangesrevisionDetails(String revision)
-
Constructor Details
-
Method Details
-
history
- Specified by:
historyin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
Exception
-
revisionDetails
public org.wildfly.installationmanager.InstallationChanges revisionDetails(String revision) throws MetadataException - Specified by:
revisionDetailsin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
MetadataException
-
prepareRevert
public void prepareRevert(String revision, Path targetDir, List<org.wildfly.installationmanager.Repository> repositories) throws Exception - Specified by:
prepareRevertin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
Exception
-
prepareUpdate
public boolean prepareUpdate(Path targetDir, List<org.wildfly.installationmanager.Repository> repositories) throws Exception - Specified by:
prepareUpdatein interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
Exception
-
findUpdates
public List<org.wildfly.installationmanager.ArtifactChange> findUpdates(List<org.wildfly.installationmanager.Repository> repositories) throws Exception - Specified by:
findUpdatesin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
Exception
-
listChannels
- Specified by:
listChannelsin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
OperationException
-
removeChannel
- Specified by:
removeChannelin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
OperationException
-
addChannel
- Specified by:
addChannelin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
OperationException
-
changeChannel
public void changeChannel(org.wildfly.installationmanager.Channel newChannel) throws OperationException - Specified by:
changeChannelin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
OperationException
-
createSnapshot
- Specified by:
createSnapshotin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
Exception
-
generateApplyUpdateCommand
public String generateApplyUpdateCommand(Path scriptHome, Path candidatePath) throws org.wildfly.installationmanager.OperationNotAvailableException - Specified by:
generateApplyUpdateCommandin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
org.wildfly.installationmanager.OperationNotAvailableException
-
generateApplyRevertCommand
public String generateApplyRevertCommand(Path scriptHome, Path candidatePath) throws org.wildfly.installationmanager.OperationNotAvailableException - Specified by:
generateApplyRevertCommandin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
org.wildfly.installationmanager.OperationNotAvailableException
-
generateApplyUpdateCommand
public String generateApplyUpdateCommand(Path scriptHome, Path candidatePath, org.wildfly.installationmanager.spi.OsShell shell) throws org.wildfly.installationmanager.OperationNotAvailableException - Specified by:
generateApplyUpdateCommandin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
org.wildfly.installationmanager.OperationNotAvailableException
-
generateApplyRevertCommand
public String generateApplyRevertCommand(Path scriptHome, Path candidatePath, org.wildfly.installationmanager.spi.OsShell shell) throws org.wildfly.installationmanager.OperationNotAvailableException - Specified by:
generateApplyRevertCommandin interfaceorg.wildfly.installationmanager.spi.InstallationManager- Throws:
org.wildfly.installationmanager.OperationNotAvailableException
-