|
Eclipse Platform Release 3.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUpdateDescriptor
An update descriptor is attached to an installable unit to describe what that installable unit is capable of acting as an update for. Typically an installable unit will specify that it is capable of updating all installable units of the same name and with an older version. However, this descriptor allows an installable unit to be considered an update for an installable unit with a different name, or even an update for a unit with a higher version than itself.
Field Summary | |
---|---|
static int |
HIGH
|
static int |
NORMAL
|
Method Summary | |
---|---|
String |
getDescription()
The description of the update. |
Collection<IMatchExpression<IInstallableUnit>> |
getIUsBeingUpdated()
Returns an expression matching all installable units that will be updated by the unit with this update descriptor. |
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 |
Field Detail |
---|
static final int NORMAL
static final int HIGH
Method Detail |
---|
Collection<IMatchExpression<IInstallableUnit>> getIUsBeingUpdated()
String getDescription()
URI getLocation()
null
int getSeverity()
boolean isUpdateOf(IInstallableUnit iu)
iu
- the installable unit checked
|
Eclipse Platform Release 3.8 |
|||||||||
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, 2012. All rights reserved.