|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.upgrade.UpgradeLauncher
public class UpgradeLauncher
Tests if an upgrade is necessary, and performs it. Note that upgrades are performed on the same thread
Constructor Summary | |
---|---|
UpgradeLauncher()
|
Method Summary | |
---|---|
static void |
checkIfUpgradeNeeded(javax.servlet.ServletContext servletContext)
This will invoke the UpgradeManager to see if an upgrade is needed. |
void |
start()
The upgrade runner loads the Upgrade Manager, which then performs any necessary upgrades. |
void |
stop()
Called when JIRA is shutting down. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpgradeLauncher()
Method Detail |
---|
public void start()
start
in interface JiraLauncher
DefaultJiraLauncher
public void stop()
JiraLauncher
stop
in interface JiraLauncher
DefaultJiraLauncher
public static void checkIfUpgradeNeeded(javax.servlet.ServletContext servletContext)
UpgradeManager
to see if an upgrade is needed.
This is run at JIRA startup time and can be invoked later if you need to restart JIRA.
servletContext
- this is need to put up Johnson events as the upgrade happens and also if the upgrade fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |