|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEngine
The engine is a service that naively performs a set of requested changes to a provisioned system. No attempt is made to determine whether the requested changes or the resulting system are valid or consistent. It is assumed that the engine client has crafted a valid provisioning plan for the engine to perform, typically by using a planner service.
The engine operates by executing a series of installation phases. The client can customize the set of phases that are executed, or else the engine will execute a default set of phases. During each phase the changes described by the provisioning plan are performed against the profile being provisioned.
Field Summary | |
---|---|
static String |
SERVICE_NAME
Service name constant for the engine service. |
Method Summary | |
---|---|
IProvisioningPlan |
createPlan(IProfile profile,
ProvisioningContext context)
Creates a provisioning plan whose methods can be use to provide pre-validated changes. |
IStatus |
perform(IProvisioningPlan plan,
IPhaseSet phaseSet,
IProgressMonitor monitor)
Executes a provisioning plan. |
IStatus |
perform(IProvisioningPlan plan,
IProgressMonitor monitor)
Executes a provisioning plan with a default phase set and context. |
Field Detail |
---|
static final String SERVICE_NAME
Method Detail |
---|
IProvisioningPlan createPlan(IProfile profile, ProvisioningContext context)
profile
- The profile to operate againstcontext
- The provisioning context for the plan
IStatus perform(IProvisioningPlan plan, IPhaseSet phaseSet, IProgressMonitor monitor)
plan
- The plan describing the changes to be madephaseSet
- The phases to run, or null
to run default phasesmonitor
- A progress monitor, or null
if progress reporting is not required
IStatus perform(IProvisioningPlan plan, IProgressMonitor monitor)
plan
- The plan describing the changes to be mademonitor
- A progress monitor, or null
if progress reporting is not required
|
Eclipse Platform Release 3.6 |
|||||||||
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, 2010. All rights reserved.