Class UpgradeTask28
java.lang.Object
com.codebarrel.jira.plugin.automation.upgradetasks.UpgradeTask28
- All Implemented Interfaces:
com.atlassian.activeobjects.external.ActiveObjectsUpgradeTask
@Component
public class UpgradeTask28
extends Object
implements com.atlassian.activeobjects.external.ActiveObjectsUpgradeTask
The aim of this upgrade task is to remove truncated CREATED date records from the RULE_STAT_ROLLUP tables and replace
them with un-truncated dates. This may take a while if the rollup table has many records. It also removes all ROLLUP records
and re-populates it from the RULE_STAT table in order to fill the new column AUDIT_ID with data.
-
Constructor Summary
ConstructorsConstructorDescriptionUpgradeTask28(DbConnectionManager dbConnectionManager, InjectorProvider injectorProvider) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.activeobjects.external.ModelVersionvoidupgrade(com.atlassian.activeobjects.external.ModelVersion modelVersion, com.atlassian.activeobjects.external.ActiveObjects activeObjects)
-
Constructor Details
-
UpgradeTask28
@Inject public UpgradeTask28(DbConnectionManager dbConnectionManager, InjectorProvider injectorProvider)
-
-
Method Details
-
getModelVersion
public com.atlassian.activeobjects.external.ModelVersion getModelVersion()- Specified by:
getModelVersionin interfacecom.atlassian.activeobjects.external.ActiveObjectsUpgradeTask
-
upgrade
public void upgrade(com.atlassian.activeobjects.external.ModelVersion modelVersion, com.atlassian.activeobjects.external.ActiveObjects activeObjects) - Specified by:
upgradein interfacecom.atlassian.activeobjects.external.ActiveObjectsUpgradeTask
-