|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 StartupCheck |
getFailedStartupCheck()
Returns the StartupCheck that failed, if any. |
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. |
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 boolean startupOK()
public static StartupCheck getFailedStartupCheck()
public static void setFailedStartupCheck(StartupCheck startupCheck)
This is used in ConsistencyLauncher, after the pre-startup checks have passed, but an error is thrown during the actual startup.
startupCheck
- The StartupCheck
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |