|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.
Constructor Summary | |
---|---|
JiraHomeStartupCheck(JiraHomePathLocator locator)
|
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. |
File |
getJiraHomeDirectory()
|
String |
getName()
Implement this method to return the name of this check |
static JiraHomeStartupCheck |
getProductionCheck()
|
boolean |
isOk()
Implement this method to return true if the check is positive and false in the case of negative result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraHomeStartupCheck(JiraHomePathLocator locator)
Method Detail |
---|
public static JiraHomeStartupCheck getProductionCheck()
public String getName()
StartupCheck
getName
in interface StartupCheck
public boolean isOk()
StartupCheck
isOk
in interface StartupCheck
public String getFaultDescription()
StartupCheck
getFaultDescription
in interface StartupCheck
public String getHTMLFaultDescription()
StartupCheck
getHTMLFaultDescription
in interface StartupCheck
public File getJiraHomeDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |