java.lang.Object | |
↳ | com.atlassian.jira.upgrade.AbstractUpgradeTask |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Useful for adding a bunch of errors (like from a command) with a prefix
| |||||||||||
Perform the upgrade.
| |||||||||||
Return any errors that occur.
| |||||||||||
Is a reindex required as a result of running this task.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.upgrade.UpgradeTask
|
Useful for adding a bunch of errors (like from a command) with a prefix
Perform the upgrade.
setupMode | Indicating this upgrade task is running during set up. |
---|
Exception |
---|
Is a reindex required as a result of running this task. If this method returns true the Upgrade manager will perform a reindex before completing. If an upgrade task changes data that is indexed by Lucene, e.g. the content of Issue fields then it should return true. A task need not necessarily change data to require a reindex but may return true here and do nothing else if there is a functional change to the code that requires the Lucene index to be rebuilt.