|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.startup.JiraStartupChecklist
public class JiraStartupChecklist
This class asserts that JIRA can start normally.
Currently the checks include a number of database consistency checks, and checks that we have a valid jira.home.
| Constructor Summary | |
|---|---|
JiraStartupChecklist()
|
|
| Method Summary | |
|---|---|
static void |
destroyTenant(com.atlassian.multitenant.Tenant tenant)
|
static StartupCheck |
getFailedStartupCheck()
Returns the StartupCheck that failed, if any. |
static JiraStartupChecklist |
getInstance()
|
static void |
setFailedStartupCheck(StartupCheck startupCheck)
Allows an external operation to declare that the startup failed, and give the message to be displayed in JIRA's "JIRA is locked" web page. |
static boolean |
startupOK()
Returns true if JIRA started correctly. |
protected JiraStartupState |
startupState()
Returns the current startup state. |
static void |
stop()
Called when a tenant is stopping and hence any startup check resources can be cleaned up |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JiraStartupChecklist()
| Method Detail |
|---|
public static JiraStartupChecklist getInstance()
public static void destroyTenant(com.atlassian.multitenant.Tenant tenant)
public static boolean startupOK()
public static StartupCheck getFailedStartupCheck()
public static void setFailedStartupCheck(StartupCheck startupCheck)
startupCheck - The StartupCheckpublic static void stop()
protected JiraStartupState startupState()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||