@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) |
toString
protected HealthService _healthService
@PostConstruct public void init()
public void setAction(HealthAction action)
setAction
in interface HealthActionAware
public boolean isMatch(HealthEvent healthEvent)
AbstractHealthPredicate
isMatch
doesn't return true.isMatch
in interface HealthPredicate
isMatch
in class AbstractHealthPredicate
protected void doAction()