Package com.atlassian.bamboo.upgrade
Class UpgradeUtilityBean
- java.lang.Object
-
- com.atlassian.bamboo.upgrade.UpgradeUtilityBean
-
public class UpgradeUtilityBean extends Object
-
-
Constructor Summary
Constructors Constructor Description UpgradeUtilityBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BambooBandanaContext
getBandanaContextForDbVersion()
String
getBandanaKeyForDbVersion()
String
getLowestBambooVersionApplicableForUpgrade()
boolean
isBuildNumberApplicableForUpgrade(String buildNumber)
-
-
-
Method Detail
-
isBuildNumberApplicableForUpgrade
public boolean isBuildNumberApplicableForUpgrade(String buildNumber)
- Returns:
- true if Bamboo installation with a given build number can be upgraded
-
getLowestBambooVersionApplicableForUpgrade
public String getLowestBambooVersionApplicableForUpgrade()
- Returns:
- lowest Bamboo version number applicable for upgrade
-
getBandanaContextForDbVersion
public BambooBandanaContext getBandanaContextForDbVersion()
- Returns:
- Bandana context used for storing Bamboo version in the database
-
getBandanaKeyForDbVersion
public String getBandanaKeyForDbVersion()
- Returns:
- Bandana key used for storing Bamboo version
-
-