public class JiraHomeStartupCheck extends Object implements StartupCheck
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.
| Modifier and Type | Method and Description |
|---|---|
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() |
public static JiraHomeStartupCheck getInstance()
public String getName()
StartupCheckgetName in interface StartupCheckpublic boolean isOk()
StartupCheckisOk in interface StartupCheckpublic boolean isInitialised()
public void stop()
StartupCheckstop in interface StartupCheckpublic String getFaultDescription()
StartupCheckgetFaultDescription in interface StartupCheckpublic String getHTMLFaultDescription()
StartupCheckgetHTMLFaultDescription in interface StartupCheckpublic File getJiraHomeDirectory()
Copyright © 2002-2016 Atlassian. All Rights Reserved.