@Configurable public abstract class LifecyclePredicate extends EventPredicate implements LifecycleListener
_healthService
Constructor and Description |
---|
LifecyclePredicate() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
abstract boolean |
isMatch(HealthService healthService,
LifecycleState oldState,
LifecycleState newState) |
void |
lifecycleEvent(LifecycleState oldState,
LifecycleState newState) |
doAction, isMatch, setAction
toString
@PostConstruct public void init()
init
in class EventPredicate
public void lifecycleEvent(LifecycleState oldState, LifecycleState newState)
lifecycleEvent
in interface LifecycleListener
public abstract boolean isMatch(HealthService healthService, LifecycleState oldState, LifecycleState newState)