|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProfileChangeRequest
A profile change request is a description of a set of changes that a client
would like to perform on a profile. The request is provided as input to an
IPlanner, which validates which of the requested changes can be
performed, and what other changes are required in order to make the profile
state consistent.
It is important to note that a change request can only be submitted once to the planner.
| Method Summary | |
|---|---|
void |
add(IInstallableUnit toInstall)
Causes the installation of the mentioned IU. |
void |
addAll(Collection<IInstallableUnit> toInstall)
Causes the installation of all the IUs mentioned |
void |
addExtraRequirements(Collection<IRequirement> requirements)
Add extra requirements that must be satisfied by the planner. |
Collection<IInstallableUnit> |
getAdditions()
Provide the set of installable units that have been requested for addition |
Collection<IInstallableUnit> |
getRemovals()
Provide the set of installable units that have been requested for removal |
void |
remove(IInstallableUnit toUninstall)
Requests the removal of the specified installable unit |
void |
removeAll(Collection<IInstallableUnit> toUninstall)
Requests the removal of all installable units in the provided collection |
void |
removeInstallableUnitInclusionRules(IInstallableUnit iu)
Removes all inclusion rules associated with the given installable unit |
void |
removeInstallableUnitProfileProperty(IInstallableUnit iu,
String key)
Remove a property with a given installable unit. |
void |
removeProfileProperty(String key)
Remove a global property on the profile |
void |
setInstallableUnitInclusionRules(IInstallableUnit iu,
String inclusionRule)
Associate an inclusion rule with the installable unit. |
void |
setInstallableUnitProfileProperty(IInstallableUnit iu,
String key,
String value)
Associate a property with a given installable unit. |
void |
setProfileProperty(String key,
String value)
Set a global property on the profile |
| Method Detail |
|---|
void add(IInstallableUnit toInstall)
toInstall - the entity to add to the profilevoid addAll(Collection<IInstallableUnit> toInstall)
toInstall - the installable units to be added to the profilevoid remove(IInstallableUnit toUninstall)
toUninstall - the installable units to be remove from the profilevoid removeAll(Collection<IInstallableUnit> toUninstall)
toUninstall - the installable units to be remove from the profilevoid addExtraRequirements(Collection<IRequirement> requirements)
requirements - the additional requirements
void setInstallableUnitInclusionRules(IInstallableUnit iu,
String inclusionRule)
The provided inclusion rule must be one of the values specified in ProfileInclusionRules.
iu - the installable unit to set an inclusion rule forinclusionRule - The inclusion rule.void removeInstallableUnitInclusionRules(IInstallableUnit iu)
iu - the installable unit to remove inclusion rules for
void setProfileProperty(String key,
String value)
key - key of the propertyvalue - value of the propertyvoid removeProfileProperty(String key)
key - key of the property
void setInstallableUnitProfileProperty(IInstallableUnit iu,
String key,
String value)
key - key of the propertyvalue - value of the property
void removeInstallableUnitProfileProperty(IInstallableUnit iu,
String key)
iu - The installable until to remove a property forkey - key of the propertyCollection<IInstallableUnit> getAdditions()
Collection<IInstallableUnit> getRemovals()
|
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.