Class ProsperoInstallationManager

  • All Implemented Interfaces:
    org.wildfly.installationmanager.spi.InstallationManager

    public class ProsperoInstallationManager
    extends Object
    implements org.wildfly.installationmanager.spi.InstallationManager
    • Constructor Detail

      • ProsperoInstallationManager

        public ProsperoInstallationManager​(Path installationDir,
                                           org.wildfly.installationmanager.MavenOptions mavenOptions)
                                    throws Exception
        Throws:
        Exception
    • Method Detail

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