com.caucho.health.predicate
Class AbstractCombiningPredicate

java.lang.Object
  extended by com.caucho.health.predicate.AbstractHealthPredicate
      extended by com.caucho.health.predicate.AbstractCombiningPredicate
All Implemented Interfaces:
HealthActionAware, HealthPredicate
Direct Known Subclasses:
And, Nand, Nor, Or

@Configurable
public abstract class AbstractCombiningPredicate
extends AbstractHealthPredicate
implements HealthActionAware


Constructor Summary
AbstractCombiningPredicate()
           
 
Method Summary
 void add(HealthPredicate predicate)
           
 java.util.List<HealthPredicate> getPredicates()
           
 void init()
           
 void setAction(HealthAction action)
           
 
Methods inherited from class com.caucho.health.predicate.AbstractHealthPredicate
isMatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractCombiningPredicate

public AbstractCombiningPredicate()
Method Detail

init

@PostConstruct
public void init()

setAction

public void setAction(HealthAction action)
Specified by:
setAction in interface HealthActionAware

add

@Configurable
public void add(HealthPredicate predicate)

getPredicates

public java.util.List<HealthPredicate> getPredicates()