public class JiraWebappStartupCheck extends Object implements StartupCheck
This currently just checks that 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()
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
Copyright © 2002-2015 Atlassian. All Rights Reserved.