|
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.equinox.p2.operations.ProvisioningSession
public class ProvisioningSession
ProvisioningSession provides the context for a provisioning session, including the provisioning services that should be used. It also provides utility methods for commonly performed provisioning tasks.
| Constructor Summary | |
|---|---|
ProvisioningSession(IProvisioningAgent agent)
Create a provisioning session using the services of the supplied agent. |
|
| Method Summary | |
|---|---|
IProvisioningAgent |
getProvisioningAgent()
Return the provisioning agent used to retrieve provisioning services. |
boolean |
hasScheduledOperationsFor(String profileId)
Return a boolean indicating whether any other provisioning operations are scheduled for the specified profile. |
IStatus |
performProvisioningPlan(IProvisioningPlan plan,
IPhaseSet phaseSet,
ProvisioningContext context,
IProgressMonitor monitor)
Perform the specified provisioning plan. |
void |
rememberJob(Job job)
Remember the specified job. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProvisioningSession(IProvisioningAgent agent)
agent - the provisioning agent that supplies services. Must not be null.| Method Detail |
|---|
public IProvisioningAgent getProvisioningAgent()
public IStatus performProvisioningPlan(IProvisioningPlan plan,
IPhaseSet phaseSet,
ProvisioningContext context,
IProgressMonitor monitor)
plan - the provisioning plan to be performedphaseSet - the phase set to be used for the plancontext - the provisioning context to be used during provisioningmonitor - the progress monitor to use while performing the plan
public boolean hasScheduledOperationsFor(String profileId)
profileId - the id of the profile in question
true if there are pending provisioning operations for
this profile, false if there are not.rememberJob(Job)public void rememberJob(Job job)
job - the job to be rememberedhasScheduledOperationsFor(String)
|
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.