Class BuildNumberApplicableForUpgrade
java.lang.Object
com.atlassian.bamboo.upgrade.AbstractUpgradeTask
com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
com.atlassian.bamboo.upgrade.tasks.validation.BuildNumberApplicableForUpgrade
- All Implemented Interfaces:
BootstrapUpgradeTask,UpgradeTask
Validate if current Bamboo build number is applicable for upgrade.
-
Field Summary
Fields inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
bootstrapManager, hibernateConfigFields inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
errors, shortDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPerform the upgrade.voidsetBootstrapUpgradeHelper(BootstrapUpgradeHelper bootstrapUpgradeHelper) voidsetTextProvider(org.apache.struts2.text.TextProvider textProvider) voidsetUpgradeUtilityBean(UpgradeUtilityBean upgradeUtilityBean) Methods inherited from class com.atlassian.bamboo.upgrade.AbstractBootstrapUpgradeTask
getDatabaseConnection, getDialect, setBootstrapManager, setHibernateConfig, withDatabaseConnectionMethods inherited from class com.atlassian.bamboo.upgrade.AbstractUpgradeTask
getBuildNumber, getErrors, getShortDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.upgrade.UpgradeTask
getBuildNumber, getErrors, getShortDescription
-
Constructor Details
-
BuildNumberApplicableForUpgrade
public BuildNumberApplicableForUpgrade()
-
-
Method Details
-
doUpgrade
Description copied from interface:UpgradeTaskPerform the upgrade.- Throws:
Exception- to signalize error during upgrade process
-
setBootstrapUpgradeHelper
-
setTextProvider
public void setTextProvider(org.apache.struts2.text.TextProvider textProvider) -
setUpgradeUtilityBean
-