java.lang.Object | |
↳ | com.atlassian.jira.startup.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.Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the StartupCheck that failed, if any.
| |||||||||||
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.
| |||||||||||
Returns true if JIRA started correctly.
| |||||||||||
Called when JIRA is stopping and hence any startup check resources can be cleaned up
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the current startup state.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Returns the StartupCheck that failed, if any.
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.
This is used in ComponentContainerLauncher, after the pre-startup checks have passed, but an error is thrown during the actual startup.startupCheck | The StartupCheck |
---|
Returns true if JIRA started correctly. The first time this is called, it runs the checks, and then caches the result.
Called when JIRA is stopping and hence any startup check resources can be cleaned up
Returns the current startup state.