|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProvisioningPlan
A provisioning plan describes a proposed set of changes to a profile. The proposed changes may represent a valid and consistent set of changes, or it may represent a set of changes that would cause errors if executed. In this case the plan contains information about the severity and explanation for the problems.
Method Summary | |
---|---|
void |
addInstallableUnit(IInstallableUnit iu)
|
IQueryable<IInstallableUnit> |
getAdditions()
Returns the proposed set of installable units to be added to the profile. |
ProvisioningContext |
getContext()
Returns the provisioning context in which this plan was created. |
IProvisioningPlan |
getInstallerPlan()
Returns a plan describing the proposed set of changes to the provisioning infrastructure required by this plan. |
IProfile |
getProfile()
Returns the profile that this plan will operate on. |
IQueryable<IInstallableUnit> |
getRemovals()
Returns the proposed set of installable units to be removed from this profile. |
IStatus |
getStatus()
Returns the overall plan status. |
void |
removeInstallableUnit(IInstallableUnit iu)
|
void |
setInstallableUnitProfileProperty(IInstallableUnit iu,
String name,
String value)
|
void |
setInstallerPlan(IProvisioningPlan installerPlan)
|
void |
setProfileProperty(String name,
String value)
|
void |
setStatus(IStatus status)
|
void |
updateInstallableUnit(IInstallableUnit iu1,
IInstallableUnit iu2)
|
Method Detail |
---|
IQueryable<IInstallableUnit> getAdditions()
ProvisioningContext getContext()
IProvisioningPlan getInstallerPlan()
void setInstallerPlan(IProvisioningPlan installerPlan)
IProfile getProfile()
IQueryable<IInstallableUnit> getRemovals()
IStatus getStatus()
IStatus.OK
indicates that the plan can be executed successfully.IStatus.INFO
or IStatus.WARNING
indicates
that the plan can be executed but may cause problems.IStatus.ERROR
indicates that the plan cannot be executed
successfully.IStatus.CANCEL
indicates that the plan computation was
canceled and is incomplete. A canceled plan cannot be executed.
void setStatus(IStatus status)
void addInstallableUnit(IInstallableUnit iu)
void removeInstallableUnit(IInstallableUnit iu)
void updateInstallableUnit(IInstallableUnit iu1, IInstallableUnit iu2)
void setProfileProperty(String name, String value)
void setInstallableUnitProfileProperty(IInstallableUnit iu, String name, String value)
|
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.