Class RemediationOperation

  • All Implemented Interfaces:

    public class RemediationOperation
    extends ProfileChangeOperation

    EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the p2 team.

    • Method Detail

      • getRemedyConfigs

        public RemedyConfig[] getRemedyConfigs()
      • getCurrentRemedy

        public Remedy getCurrentRemedy()
      • setCurrentRemedy

        public void setCurrentRemedy​(Remedy currentRemedy)
      • bestSolutionChangingTheRequest

        public Remedy bestSolutionChangingTheRequest()
      • bestSolutionChangingWhatIsInstalled

        public Remedy bestSolutionChangingWhatIsInstalled()
      • computeProfileChangeRequest

        protected void computeProfileChangeRequest​(MultiStatus status,
                                                   IProgressMonitor monitor)
        Description copied from class: ProfileChangeOperation
        Compute the profile change request for this operation, adding any relevant intermediate status to the supplied status.
        Specified by:
        computeProfileChangeRequest in class ProfileChangeOperation
        status - a multi-status to be used to add relevant status. If a profile change request cannot be computed for any reason, a status should be added to explain the problem.
        monitor - the progress monitor to use for computing the profile change request
      • getOriginalRequest

        public org.eclipse.equinox.internal.p2.director.ProfileChangeRequest getOriginalRequest()
      • getResolutionResult

        public IStatus getResolutionResult()
        Description copied from class: ProfileChangeOperation
        Return a status indicating the result of resolving this operation. A null return indicates that resolving has not occurred yet.
        getResolutionResult in class ProfileChangeOperation
        the status of the resolution, or null if resolution has not yet occurred.