Eclipse Platform
Kepler (4.3)

org.eclipse.equinox.p2.operations
Class RelaxedUpdateInstallOperation

java.lang.Object
  extended by org.eclipse.equinox.p2.operations.ProfileChangeOperation
      extended by org.eclipse.equinox.p2.operations.RelaxedUpdateInstallOperation
All Implemented Interfaces:
IProfileChangeJob

public class RelaxedUpdateInstallOperation
extends ProfileChangeOperation

An operation that updates IUs with relaxed p2 constraints

Since:
2.2
Restriction:
Restriction:
This class is not intended to be instantiated by clients.

Constructor Summary
RelaxedUpdateInstallOperation(ProvisioningSession session)
           
 
Method Summary
protected  void computeProfileChangeRequest(MultiStatus status, IProgressMonitor monitor)
          Compute the profile change request for this operation, adding any relevant intermediate status to the supplied status.
protected  java.lang.String getProvisioningJobName()
          Return an appropriate name for the provisioning job.
protected  java.lang.String getResolveJobName()
          Return an appropriate name for the resolution job.
 
Methods inherited from class org.eclipse.equinox.p2.operations.ProfileChangeOperation
getProfileChangeRequest, getProfileId, getProvisioningContext, getProvisioningJob, getProvisioningPlan, getResolutionDetails, getResolutionDetails, getResolutionResult, getResolveJob, hasResolved, prepareToResolve, resolveModal, setProfileId, setProvisioningContext, updateJobProvisioningContexts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelaxedUpdateInstallOperation

public RelaxedUpdateInstallOperation(ProvisioningSession session)
Method Detail

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
Parameters:
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

getResolveJobName

protected java.lang.String getResolveJobName()
Description copied from class: ProfileChangeOperation
Return an appropriate name for the resolution job.

Specified by:
getResolveJobName in class ProfileChangeOperation
Returns:
the resolution job name.

getProvisioningJobName

protected java.lang.String getProvisioningJobName()
Description copied from class: ProfileChangeOperation
Return an appropriate name for the provisioning job.

Specified by:
getProvisioningJobName in class ProfileChangeOperation
Returns:
the provisioning job name.

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2012. All rights reserved.