Class RemoveESIndexJournalVerifierUpgradeTask
- java.lang.Object
-
- com.atlassian.confluence.upgrade.AbstractUpgradeTask
-
- com.atlassian.confluence.upgrade.upgradetask.RemoveESIndexJournalVerifierUpgradeTask
-
- All Implemented Interfaces:
BackupSupport
,DatabaseUpgradeTask
,UpgradeTask
,UpgradeTaskInfo
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
public class RemoveESIndexJournalVerifierUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
See CONFSRVDEV-3031.- Since:
- 6.5.0
-
-
Constructor Summary
Constructors Constructor Description RemoveESIndexJournalVerifierUpgradeTask(org.hibernate.SessionFactory sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
breaksBackwardCompatibility()
false
as older versions may register the job during startupvoid
doUpgrade()
Perform the upgrade.String
getBuildNumber()
String
getShortDescription()
A short (<50 chars) description of the upgrade actionboolean
runOnSpaceImport()
true
as exports may include this record-
Methods inherited from class com.atlassian.confluence.upgrade.AbstractUpgradeTask
addAllErrors, addError, addError, getConstraint, getErrors, getName, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTask
getConstraint, getErrors, validate
-
Methods inherited from interface com.atlassian.confluence.upgrade.UpgradeTaskInfo
getName, isDatabaseUpgrade
-
-
-
-
Method Detail
-
getBuildNumber
public String getBuildNumber()
- Specified by:
getBuildNumber
in interfaceUpgradeTaskInfo
- Overrides:
getBuildNumber
in classAbstractUpgradeTask
- Returns:
- The build number that this upgrade is applicable to
-
getShortDescription
public String getShortDescription()
Description copied from interface:UpgradeTaskInfo
A short (<50 chars) description of the upgrade action- Specified by:
getShortDescription
in interfaceUpgradeTaskInfo
- Overrides:
getShortDescription
in classAbstractUpgradeTask
-
runOnSpaceImport
public boolean runOnSpaceImport()
true
as exports may include this record- Specified by:
runOnSpaceImport
in interfaceBackupSupport
-
breaksBackwardCompatibility
public boolean breaksBackwardCompatibility()
false
as older versions may register the job during startup- Specified by:
breaksBackwardCompatibility
in interfaceBackupSupport
-
doUpgrade
public void doUpgrade() throws Exception
Description copied from interface:UpgradeTask
Perform the upgrade.- Specified by:
doUpgrade
in interfaceUpgradeTask
- Throws:
Exception
-
-