|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.startup.JiraWebappStartupCheck
public class JiraWebappStartupCheck
A StartupCheck that checks the Webapp is configured correctly.
This currently just checks thatServletContext.getRealPath(java.lang.String)
works for "/", and thus that we're not running
from a packed WAR.
Constructor Summary | |
---|---|
JiraWebappStartupCheck()
|
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. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JiraWebappStartupCheck()
Method Detail |
---|
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 void stop()
StartupCheck
stop
in interface StartupCheck
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |