Class 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.
    • 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