public class InstallableUnitPatch extends InstallableUnit implements IInstallableUnitPatch
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MEMBER_APPLICABILITY_SCOPE |
static java.lang.String |
MEMBER_LIFECYCLE |
static java.lang.String |
MEMBER_REQUIREMENTS_CHANGE |
MEMBER_ARTIFACTS, MEMBER_COPYRIGHT, MEMBER_FILTER, MEMBER_ID, MEMBER_LICENSES, MEMBER_PROFILE_PROPERTIES, MEMBER_PROPERTIES, MEMBER_PROVIDED_CAPABILITIES, MEMBER_REQUIREMENTS, MEMBER_SINGLETON, MEMBER_TOUCHPOINT_DATA, MEMBER_TOUCHPOINT_TYPE, MEMBER_TRANSLATED_PROPERTIES, MEMBER_UPDATE_DESCRIPTOR, MEMBER_VERSIONNAMESPACE_IU_ID, PROP_BUNDLE_LOCALIZATION, PROP_CONTACT, PROP_DESCRIPTION, PROP_DESCRIPTION_URL, PROP_DOC_URL, PROP_ICON, PROP_NAME, PROP_PARTIAL_IU, PROP_PROVIDER| Constructor and Description |
|---|
InstallableUnitPatch() |
| Modifier and Type | Method and Description |
|---|---|
IRequirement[][] |
getApplicabilityScope()
The applicability scope of a patch describes the installable units that this
patch should be applied to.
|
IRequirement |
getLifeCycle()
Returns the required capability that defines the lifecycle of this patch.
|
java.lang.Object |
getMember(java.lang.String memberName)
Returns the value for the specified member.
|
java.util.List<IRequirementChange> |
getRequirementsChange()
Returns the requirement changes imposed by the patch.
|
void |
setApplicabilityScope(IRequirement[][] applyTo) |
void |
setLifeCycle(IRequirement lifeCycle) |
void |
setRequiredCapabilities(IRequirement[] capabilities) |
void |
setRequirementsChange(IRequirementChange[] changes) |
addTouchpointData, compareTo, contextIU, contextIU, equals, getArtifacts, getCopyright, getCopyright, getFilter, getFragments, getId, getLicenses, getLicenses, getLocalizedProperty, getMetaRequirements, getProperties, getProperty, getProperty, getProvidedCapabilities, getRequirements, getTouchpointData, getTouchpointType, getUpdateDescriptor, getVersion, hashCode, isResolved, isSingleton, parseFilter, satisfies, setArtifacts, setCapabilities, setCopyright, setFilter, setFilter, setId, setLicenses, setLocalizedProperty, setMetaRequiredCapabilities, setProperty, setSingleton, setTouchpointType, setUpdateDescriptor, setVersion, toString, unresolvedclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, getArtifacts, getCopyright, getCopyright, getFilter, getFragments, getLicenses, getLicenses, getMetaRequirements, getProperties, getProperty, getProperty, getProvidedCapabilities, getRequirements, getTouchpointData, getTouchpointType, getUpdateDescriptor, isResolved, isSingleton, satisfies, unresolvedgetId, getVersionpublic static final java.lang.String MEMBER_APPLICABILITY_SCOPE
public static final java.lang.String MEMBER_LIFECYCLE
public static final java.lang.String MEMBER_REQUIREMENTS_CHANGE
public void setRequiredCapabilities(IRequirement[] capabilities)
setRequiredCapabilities in class InstallableUnitpublic IRequirement[][] getApplicabilityScope()
IInstallableUnitPatchThe returned two-dimensional array can be considered as a boolean expression, where items in the inner array are connected by AND operators, and each of the arrays are separated by OR operators. For example a scope of [[r1, r2, r3], [r4, r5]] will match any unit whose provided capabilities satisfy the expression ((r1 ^ r2 ^ r3) | (r4 ^ r5)).
getApplicabilityScope in interface IInstallableUnitPatchpublic IRequirement getLifeCycle()
IInstallableUnitPatchgetLifeCycle in interface IInstallableUnitPatchpublic java.util.List<IRequirementChange> getRequirementsChange()
IInstallableUnitPatchgetRequirementsChange in interface IInstallableUnitPatchpublic void setApplicabilityScope(IRequirement[][] applyTo)
public void setLifeCycle(IRequirement lifeCycle)
public void setRequirementsChange(IRequirementChange[] changes)
public java.lang.Object getMember(java.lang.String memberName)
IMemberProvidermemberName is a string that has been
internalized using String.intern().getMember in interface IMemberProvidergetMember in class InstallableUnitmemberName - The name of the member