public class UpgradeTask5713PrepareExpiryConfigurationForNewDeploymentExpiry extends AbstractBootstrapUpgradeTask
Modifier and Type | Field and Description |
---|---|
static String |
COUNT_DEPLOYMENT_PROJECTS_QUERY |
static String |
DEPLOYMENT_PROJECTS_TABLE |
static String |
SELECT_BUILD_DEFINITION_XML_QUERY |
protected AdministrationConfigurationUpgrader |
upgrader |
applicationConfig, bootstrapManager, hibernateConfig
errors
Constructor and Description |
---|
UpgradeTask5713PrepareExpiryConfigurationForNewDeploymentExpiry() |
Modifier and Type | Method and Description |
---|---|
void |
doUpgrade()
Perform the upgrade.
|
protected boolean |
hasDeploymentProjects() |
protected boolean |
hasPerPlanExpiryOverrides() |
protected boolean |
isBuildExpiryEnabled() |
void |
setDbmsBean(DbmsBean dbmsBean) |
protected void |
setDeploymentExpiryEnabledSetting() |
void |
setFeatureManager(FeatureManager featureManager) |
protected void |
updateDeploymentExpiryConfiguration() |
getApplicationBuildNumber, getDatabaseConnection, getDialect, setApplicationConfig, setBootstrapManager, setHibernateConfig, withDatabaseConnection
getBuildNumber, getErrors, getShortDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBuildNumber, getErrors, getShortDescription
public static final String DEPLOYMENT_PROJECTS_TABLE
public static final String COUNT_DEPLOYMENT_PROJECTS_QUERY
public static final String SELECT_BUILD_DEFINITION_XML_QUERY
protected AdministrationConfigurationUpgrader upgrader
public UpgradeTask5713PrepareExpiryConfigurationForNewDeploymentExpiry()
public void doUpgrade() throws Exception
UpgradeTask
Exception
- to signalize error during upgrade processprotected void setDeploymentExpiryEnabledSetting() throws Exception
Exception
protected boolean hasPerPlanExpiryOverrides() throws Exception
Exception
protected void updateDeploymentExpiryConfiguration()
public void setDbmsBean(DbmsBean dbmsBean)
public void setFeatureManager(FeatureManager featureManager)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.