Class Upgrade


  • @Beta
    public class Upgrade
    extends java.lang.Object
    Represents the state of an upgrade.

    An upgrade consists of a source and target version and an upgrade status().

    • Method Detail

      • source

        public Version source()
        Returns the source version.
        Returns:
        the source version
      • target

        public Version target()
        Returns the target version.
        Returns:
        the target version
      • status

        public Upgrade.Status status()
        Returns the upgrade status.
        Returns:
        the upgrade status
      • toString

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