@Configurable public abstract class AbstractHealthCheckPredicate extends AbstractScheduledHealthPredicate
Constructor and Description |
---|
AbstractHealthCheckPredicate() |
AbstractHealthCheckPredicate(HealthCheck healthCheck) |
Modifier and Type | Method and Description |
---|---|
HealthCheck |
getHealthCheck() |
protected HealthCheckResult |
getLastResult(HealthService healthService) |
void |
setHealthCheck(HealthCheck healthCheck)
Set health check - optional, if not present summary status will be used
|
java.lang.String |
toString() |
isMatch
public AbstractHealthCheckPredicate()
public AbstractHealthCheckPredicate(HealthCheck healthCheck)
@Configurable public void setHealthCheck(HealthCheck healthCheck)
public HealthCheck getHealthCheck()
protected HealthCheckResult getLastResult(HealthService healthService)
public java.lang.String toString()
toString
in class AbstractHealthPredicate