public interface IProfileChangeRequest
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.
Clients should create and manipulate profile change requests via the API IPlanner.createChangeRequest(IProfile).| Modifier and Type | Method and Description |
|---|---|
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<IRequirement> |
getExtraRequirements()
Get the extra requirements that have been specified through method
addExtraRequirements(Collection) |
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
|
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 requirementsvoid 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 forvoid setProfileProperty(String key, String value)
key - key of the propertyvalue - value of the propertyvoid removeProfileProperty(String key)
key - key of the propertyvoid setInstallableUnitProfileProperty(IInstallableUnit iu, String key, String value)
key - key of the propertyvalue - value of the propertyvoid removeInstallableUnitProfileProperty(IInstallableUnit iu, String key)
iu - The installable until to remove a property forkey - key of the propertyCollection<IInstallableUnit> getAdditions()
Collection<IInstallableUnit> getRemovals()
Collection<IRequirement> getExtraRequirements()
addExtraRequirements(Collection)
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.