Class Upgrade

  • All Implemented Interfaces:
    java.lang.Comparable<Upgrade>

    public abstract class Upgrade
    extends java.lang.Object
    implements java.lang.Comparable<Upgrade>
    • Constructor Detail

      • Upgrade

        public Upgrade()
    • Method Detail

      • upgradeVersion

        public abstract Version upgradeVersion()
      • compareTo

        public int compareTo​(Upgrade o)
        Specified by:
        compareTo in interface java.lang.Comparable<Upgrade>
      • shouldBeApplied

        public boolean shouldBeApplied​(Version currentVersion)
      • toString

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