Class Upgrade
- java.lang.Object
-
- com.xebialabs.deployit.server.api.upgrade.Upgrade
-
-
Constructor Summary
Constructors Constructor Description Upgrade()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
compareTo(Upgrade o)
abstract boolean
doUpgrade()
boolean
shouldBeApplied(Version currentVersion)
java.lang.String
toString()
abstract Version
upgradeVersion()
-
-
-
Method Detail
-
doUpgrade
public abstract boolean doUpgrade() throws UpgradeException
- Throws:
UpgradeException
-
upgradeVersion
public abstract Version upgradeVersion()
-
compareTo
public int compareTo(Upgrade o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Upgrade>
-
shouldBeApplied
public boolean shouldBeApplied(Version currentVersion)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-