public class RemoveESIndexQueueFlushJobUpgradeTask extends AbstractUpgradeTask implements DatabaseUpgradeTask
Constructor and Description |
---|
RemoveESIndexQueueFlushJobUpgradeTask(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
breaksBackwardCompatibility()
false as older versions may register the job during startup |
void |
doUpgrade()
Perform the upgrade.
|
String |
getBuildNumber() |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action
|
boolean |
runOnSpaceImport()
true as exports may include this record |
addAllErrors, addError, addError, getConstraint, getErrors, getName, isDatabaseUpgrade, setBeanName, setBuildNumber, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConstraint, getErrors, validate
getName, isDatabaseUpgrade
public RemoveESIndexQueueFlushJobUpgradeTask(org.hibernate.SessionFactory sessionFactory)
public String getBuildNumber()
getBuildNumber
in interface UpgradeTaskInfo
getBuildNumber
in class AbstractUpgradeTask
public String getShortDescription()
UpgradeTaskInfo
getShortDescription
in interface UpgradeTaskInfo
getShortDescription
in class AbstractUpgradeTask
public boolean runOnSpaceImport()
true
as exports may include this recordrunOnSpaceImport
in interface BackupSupport
public boolean breaksBackwardCompatibility()
false
as older versions may register the job during startupbreaksBackwardCompatibility
in interface BackupSupport
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
Copyright © 2003–2020 Atlassian. All rights reserved.