|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.equinox.p2.operations.ProvisioningJob
org.eclipse.equinox.p2.operations.ProfileModificationJob
public class ProfileModificationJob
A job that modifies a profile according to a specified provisioning plan.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.equinox.p2.operations.ProvisioningJob |
|---|
RESTART_NONE, RESTART_ONLY, RESTART_OR_APPLY |
| Fields inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING |
| Fields inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
manager |
| Constructor Summary | |
|---|---|
ProfileModificationJob(String name,
ProvisioningSession session,
String profileId,
IProvisioningPlan plan,
ProvisioningContext context)
Create a job that will update a profile according to the specified provisioning plan. |
|
| Method Summary | |
|---|---|
String |
getProfileId()
Return the string id of the profile involved in this job. |
int |
getRestartPolicy()
Return the restart policy that is appropriate for this job. |
IStatus |
runModal(IProgressMonitor monitor)
Perform the specific work involved in running this job in the current thread. |
void |
setPhaseSet(IPhaseSet phaseSet)
Set the phase set to be used when running the provisioning plan. |
void |
setRestartPolicy(int policy)
Set the restart policy that describes whether restart is needed after performing this job. |
void |
setTaskName(String label)
Sets the top level task name for progress when running this operation. |
| Methods inherited from class org.eclipse.equinox.p2.operations.ProvisioningJob |
|---|
getErrorStatus, getSession, run, setAdditionalProgressMonitor |
| Methods inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
compareTo |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public ProfileModificationJob(String name,
ProvisioningSession session,
String profileId,
IProvisioningPlan plan,
ProvisioningContext context)
name - the name of the jobsession - the provisioning session to use to obtain provisioning servicesprofileId - the id of the profile to be alteredplan - the provisioning plan describing how the profile is to be alteredcontext - the provisioning context describing how the operation is to be performed| Method Detail |
|---|
public void setPhaseSet(IPhaseSet phaseSet)
phaseSet - the provisioning phases to be run during provisioning.public String getProfileId()
IProfileChangeJob
getProfileId in interface IProfileChangeJobpublic IStatus runModal(IProgressMonitor monitor)
ProvisioningJob
runModal in class ProvisioningJobmonitor - the progress monitor to use for the operation
public void setTaskName(String label)
label - the label to be used for the task namepublic int getRestartPolicy()
ProvisioningJob
getRestartPolicy in class ProvisioningJobProvisioningJob.RESTART_NONE,
ProvisioningJob.RESTART_ONLY,
ProvisioningJob.RESTART_OR_APPLYpublic void setRestartPolicy(int policy)
policy - an integer describing the restart policyProvisioningJob.RESTART_NONE,
ProvisioningJob.RESTART_ONLY,
ProvisioningJob.RESTART_OR_APPLY
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.