@Named @Singleton @Configurable public class ExprHealthCheck extends ExprHealthCheckImpl
Resulting status depends on the category of expression that evaluates to false.
Constructor and Description |
---|
ExprHealthCheck() |
Modifier and Type | Method and Description |
---|---|
void |
addCriticalTest(Expr test)
Add JSP-EL expression that will result in CRITICAL health status
|
void |
addFatalTest(Expr test)
Add JSP-EL expression that will result in FATAL health status
|
void |
addWarningTest(Expr test)
Add JSP-EL expression that will result in WARNING health status
|
checkHealth, getCriticalTests, getFatalTests, getWarningTests
findDelegate, getDelegate, getLastResult, getLogPeriod, getName, hasDelegate, init, isEnabled, logResult, setEnabled, setLogPeriod, setName, silenceFor, start, stop, toString
@Configurable public void addFatalTest(Expr test)
addFatalTest
in class ExprHealthCheckImpl
@Configurable public void addCriticalTest(Expr test)
addCriticalTest
in class ExprHealthCheckImpl
@Configurable public void addWarningTest(Expr test)
addWarningTest
in class ExprHealthCheckImpl