Class UpdateAction

    • Method Detail

      • performUpdate

        public List<FileConflict> performUpdate()
                                         throws OperationException,
                                                org.jboss.galleon.ProvisioningException
        performs a full in-place update of installDir.
        Returns:
        list of conflicts if any found during update.
        Throws:
        OperationException
        org.jboss.galleon.ProvisioningException
      • buildUpdate

        public boolean buildUpdate​(Path targetDir)
                            throws org.jboss.galleon.ProvisioningException,
                                   OperationException
        builds an update candidate for installDir. The candidate is placed in targetDir. The candidate is only built if there are
        Parameters:
        targetDir - path where the update candidate should be placed.
        Returns:
        true if the candidate was created, false if no updates were found.
        Throws:
        org.jboss.galleon.ProvisioningException
        OperationException
      • findUpdates

        public UpdateSet findUpdates()
                              throws OperationException,
                                     org.jboss.galleon.ProvisioningException
        generate a list of updates that can be applied to server at installDir.
        Returns:
        Throws:
        OperationException
        org.jboss.galleon.ProvisioningException