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
  • Constructor Details

  • Method Details

    • history

      public List<org.wildfly.installationmanager.HistoryResult> history() throws Exception
      Specified by:
      history in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      Exception
    • revisionDetails

      public org.wildfly.installationmanager.InstallationChanges revisionDetails(String revision) throws MetadataException
      Specified by:
      revisionDetails in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      MetadataException
    • prepareRevert

      public void prepareRevert(String revision, Path targetDir, List<org.wildfly.installationmanager.Repository> repositories) throws Exception
      Specified by:
      prepareRevert in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      Exception
    • prepareUpdate

      public boolean prepareUpdate(Path targetDir, List<org.wildfly.installationmanager.Repository> repositories) throws Exception
      Specified by:
      prepareUpdate in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      Exception
    • verifyCandidate

      public Collection<org.wildfly.installationmanager.FileConflict> verifyCandidate(Path candidatePath, org.wildfly.installationmanager.CandidateType candidateType) throws Exception
      Specified by:
      verifyCandidate in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      Exception
    • findUpdates

      public List<org.wildfly.installationmanager.ArtifactChange> findUpdates(List<org.wildfly.installationmanager.Repository> repositories) throws Exception
      Specified by:
      findUpdates in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      Exception
    • listChannels

      public Collection<org.wildfly.installationmanager.Channel> listChannels() throws OperationException
      Specified by:
      listChannels in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      OperationException
    • removeChannel

      public void removeChannel(String channelName) throws OperationException
      Specified by:
      removeChannel in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      OperationException
    • addChannel

      public void addChannel(org.wildfly.installationmanager.Channel channel) throws OperationException
      Specified by:
      addChannel in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      OperationException
    • changeChannel

      public void changeChannel(org.wildfly.installationmanager.Channel newChannel) throws OperationException
      Specified by:
      changeChannel in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      OperationException
    • createSnapshot

      public Path createSnapshot(Path targetPath) throws Exception
      Specified by:
      createSnapshot in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      Exception
    • generateApplyUpdateCommand

      public String generateApplyUpdateCommand(Path scriptHome, Path candidatePath) throws org.wildfly.installationmanager.OperationNotAvailableException
      Specified by:
      generateApplyUpdateCommand in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      org.wildfly.installationmanager.OperationNotAvailableException
    • generateApplyRevertCommand

      public String generateApplyRevertCommand(Path scriptHome, Path candidatePath) throws org.wildfly.installationmanager.OperationNotAvailableException
      Specified by:
      generateApplyRevertCommand in interface org.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:
      generateApplyUpdateCommand in interface org.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:
      generateApplyRevertCommand in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      org.wildfly.installationmanager.OperationNotAvailableException
    • generateApplyUpdateCommand

      public String generateApplyUpdateCommand(Path scriptHome, Path candidatePath, org.wildfly.installationmanager.spi.OsShell shell, boolean noConflictsOnly) throws org.wildfly.installationmanager.OperationNotAvailableException
      Specified by:
      generateApplyUpdateCommand in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      org.wildfly.installationmanager.OperationNotAvailableException
    • generateApplyRevertCommand

      public String generateApplyRevertCommand(Path scriptHome, Path candidatePath, org.wildfly.installationmanager.spi.OsShell shell, boolean noConflictsOnly) throws org.wildfly.installationmanager.OperationNotAvailableException
      Specified by:
      generateApplyRevertCommand in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      org.wildfly.installationmanager.OperationNotAvailableException
    • getInstalledVersions

      public Collection<org.wildfly.installationmanager.ManifestVersion> getInstalledVersions() throws MetadataException
      Specified by:
      getInstalledVersions in interface org.wildfly.installationmanager.spi.InstallationManager
      Throws:
      MetadataException