@Configurable public abstract class EventPredicate extends AbstractHealthPredicate implements HealthActionAware
| Modifier and Type | Field and Description |
|---|---|
protected HealthService |
_healthService |
| Constructor and Description |
|---|
EventPredicate() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction() |
void |
init() |
boolean |
isMatch(HealthEvent healthEvent)
The abstract match returns true, so a child can combine its own
matches with the parent.
|
void |
setAction(HealthAction action) |
toStringprotected HealthService _healthService
@PostConstruct public void init()
public void setAction(HealthAction action)
setAction in interface HealthActionAwarepublic boolean isMatch(HealthEvent healthEvent)
AbstractHealthPredicateisMatch doesn't return true.isMatch in interface HealthPredicateisMatch in class AbstractHealthPredicateprotected void doAction()