public class UpgradeLauncher extends Object implements javax.servlet.ServletContextListener
Constructor and Description |
---|
UpgradeLauncher() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
static void |
initialisePlansAfterImport(javax.servlet.ServletContext servletContext) |
static void |
upgradeAndStartBamboo(javax.servlet.ServletContext servletContext,
boolean isPartOfSetup)
Updates the database, upgrades and starts Bamboo.
|
public void contextInitialized(javax.servlet.ServletContextEvent sce)
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 processpublic static void initialisePlansAfterImport(javax.servlet.ServletContext servletContext) throws IOException
IOException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.