public class JiraWebappStartupCheck extends Object implements StartupCheck
ServletContext.getRealPath(java.lang.String) works for "/", and thus that we're not running
from a packed WAR.| Constructor and Description |
|---|
JiraWebappStartupCheck() |
| 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.
|
String |
getName()
Implement this method to return the name of this check
|
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
|
public String getName()
StartupCheckgetName in interface StartupCheckpublic boolean isOk()
StartupCheckisOk in interface StartupCheckpublic String getFaultDescription()
StartupCheckgetFaultDescription in interface StartupCheckpublic String getHTMLFaultDescription()
StartupCheckgetHTMLFaultDescription in interface StartupCheckpublic void stop()
StartupCheckstop in interface StartupCheckCopyright © 2002-2015 Atlassian. All Rights Reserved.