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()
StartupCheck
getName
in interface StartupCheck
public boolean isOk()
StartupCheck
isOk
in interface StartupCheck
public boolean isInitialised()
public void stop()
StartupCheck
stop
in interface StartupCheck
public String getFaultDescription()
StartupCheck
getFaultDescription
in interface StartupCheck
public String getHTMLFaultDescription()
StartupCheck
getHTMLFaultDescription
in interface StartupCheck
public File getJiraHomeDirectory()
Copyright © 2002-2015 Atlassian. All Rights Reserved.