@Configurable public abstract class AbstractHealthAction extends java.lang.Object implements HealthAction
Constructor and Description |
---|
AbstractHealthAction() |
Modifier and Type | Method and Description |
---|---|
void |
add(HealthPredicate predicate) |
void |
addListener(HealthActionListener listener) |
HealthActionResult |
doAction(HealthEvent healthEvent) |
abstract HealthActionResult |
doActionImpl(HealthEvent healthEvent) |
java.util.List<HealthPredicate> |
getPredicates() |
void |
init() |
void |
start() |
void |
stop() |
java.lang.String |
toString() |
@Configurable public void add(HealthPredicate predicate)
public java.util.List<HealthPredicate> getPredicates()
public void addListener(HealthActionListener listener)
@PostConstruct public void init()
public final HealthActionResult doAction(HealthEvent healthEvent)
doAction
in interface HealthAction
public abstract HealthActionResult doActionImpl(HealthEvent healthEvent) throws java.lang.Exception
java.lang.Exception
public void start()
start
in interface HealthAction
public void stop()
stop
in interface HealthAction
public java.lang.String toString()
toString
in class java.lang.Object