public class UpdateDescriptor extends java.lang.Object implements IUpdateDescriptor
HIGH, NORMAL| Constructor and Description |
|---|
UpdateDescriptor(java.util.Collection<IMatchExpression<IInstallableUnit>> descriptors,
int severity,
java.lang.String description,
java.net.URI location) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
The description of the update.
|
java.util.Collection<IMatchExpression<IInstallableUnit>> |
getIUsBeingUpdated()
Returns an expression matching all installable units that will be updated by
the unit with this update descriptor.
|
java.net.URI |
getLocation()
Returns the location of a document containing the description.
|
int |
getSeverity()
The importance of the update descriptor represented as a int.
|
boolean |
isUpdateOf(IInstallableUnit iu)
Helper method indicating whether or not an installable unit is an update for the installable unit passed
|
public UpdateDescriptor(java.util.Collection<IMatchExpression<IInstallableUnit>> descriptors, int severity, java.lang.String description, java.net.URI location)
public java.lang.String getDescription()
IUpdateDescriptorgetDescription in interface IUpdateDescriptorpublic int getSeverity()
IUpdateDescriptorgetSeverity in interface IUpdateDescriptorIUpdateDescriptor.HIGH or IUpdateDescriptor.NORMAL).public boolean isUpdateOf(IInstallableUnit iu)
IUpdateDescriptorisUpdateOf in interface IUpdateDescriptoriu - the installable unit checkedpublic java.util.Collection<IMatchExpression<IInstallableUnit>> getIUsBeingUpdated()
IUpdateDescriptorgetIUsBeingUpdated in interface IUpdateDescriptorpublic java.net.URI getLocation()
IUpdateDescriptorgetLocation in interface IUpdateDescriptornull