|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.upgrade.UpgradeLauncher
public class UpgradeLauncher
Upgrade launcher checks if the instance requires an upgrade or not. YT
Constructor Summary | |
---|---|
UpgradeLauncher()
|
Method Summary | |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
|
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
|
static void |
upgradeAndStartBamboo(javax.servlet.ServletContext servletContext,
boolean isPartOfSetup)
Updates the database, upgrades and starts Bamboo. |
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 contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
public static void upgradeAndStartBamboo(javax.servlet.ServletContext servletContext, boolean isPartOfSetup)
servletContext
- isPartOfSetup
- - Will only run upgrade tasks that's relevant for the setup process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |