Eclipse Platform
Release 3.6

org.eclipse.equinox.p2.metadata
Interface IUpdateDescriptor


public interface IUpdateDescriptor

Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Field Summary
static int HIGH
           
static int NORMAL
           
 
Method Summary
 String getDescription()
          The description of the update.
 Collection<IMatchExpression<IInstallableUnit>> getIUsBeingUpdated()
           
 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

NORMAL

static final int NORMAL
See Also:
Constant Field Values

HIGH

static final int HIGH
See Also:
Constant Field Values
Method Detail

getIUsBeingUpdated

Collection<IMatchExpression<IInstallableUnit>> getIUsBeingUpdated()

getDescription

String getDescription()
The description of the update. This allows to explain what the update is about.

Returns:
A description

getLocation

URI getLocation()
Returns the location of a document containing the description.

Returns:
the location of the document, or null

getSeverity

int getSeverity()
The importance of the update descriptor represented as a int.

Returns:
The severity.

isUpdateOf

boolean isUpdateOf(IInstallableUnit iu)
Helper method indicating whether or not an installable unit is an update for the installable unit passed

Parameters:
iu - the installable unit checked
Returns:
A boolean indicating whether or not an installable unit is an update.

Eclipse Platform
Release 3.6

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.