Eclipse Platform
Kepler (4.3)

org.eclipse.equinox.p2.operations
Class Update

java.lang.Object
  extended by org.eclipse.equinox.p2.operations.Update

public class Update
extends java.lang.Object

A simple data structure describing a possible update.

Since:
2.0
Restriction:
This class is not intended to be subclassed by clients.

Field Summary
 IInstallableUnit replacement
           
 IInstallableUnit toUpdate
           
 
Constructor Summary
Update(IInstallableUnit toUpdate, IInstallableUnit replacement)
          Creates a new update description.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

toUpdate

public IInstallableUnit toUpdate

replacement

public IInstallableUnit replacement
Constructor Detail

Update

public Update(IInstallableUnit toUpdate,
              IInstallableUnit replacement)
Creates a new update description.

Parameters:
toUpdate - The installable unit to update
replacement - The replacement installable unit
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Eclipse Platform
Kepler (4.3)

Guidelines for using Eclipse APIs.

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