|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.startup.JiraHomeStartupCheck
public class JiraHomeStartupCheck
This StartupCheck will check that there is a valid jira.home configured that we can get an exclusive lock on.
Note: this has the side effect that the jira.home directory is created, if required, and "locked". These side-effects are REQUIRED in order to return valid results.
| Method Summary | |
|---|---|
String |
getFaultDescription()
Implement this method to return the description of the fault. |
String |
getHTMLFaultDescription()
Implement this method to return the error message of the fault. |
static JiraHomeStartupCheck |
getInstance()
|
File |
getJiraHomeDirectory()
|
String |
getName()
Implement this method to return the name of this check |
boolean |
isInitialised()
|
boolean |
isOk()
Implement this method to return true if the check is positive and false in the case of negative result. |
void |
stop()
Called when the instance is coming down |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static JiraHomeStartupCheck getInstance()
public String getName()
StartupCheck
getName in interface StartupCheckpublic boolean isOk()
StartupCheck
isOk in interface StartupCheckpublic boolean isInitialised()
public void stop()
StartupCheck
stop in interface StartupCheckpublic String getFaultDescription()
StartupCheck
getFaultDescription in interface StartupCheckpublic String getHTMLFaultDescription()
StartupCheck
getHTMLFaultDescription in interface StartupCheckpublic File getJiraHomeDirectory()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||