com.caucho.health.predicate
Class AbstractHealthPredicate

java.lang.Object
  extended by com.caucho.health.predicate.AbstractHealthPredicate
All Implemented Interfaces:
HealthPredicate
Direct Known Subclasses:
AbstractCombiningPredicate, AbstractScheduledHealthPredicate, ActionSequence.IfExecuting, EventPredicate, IfHealthEvent, IfNotRecent, Not, OnRestart, OnStart, OnStop

public abstract class AbstractHealthPredicate
extends java.lang.Object
implements HealthPredicate


Constructor Summary
AbstractHealthPredicate()
           
 
Method Summary
 boolean isMatch(HealthEvent event)
          The abstract match returns true, so a child can combine its own matches with the parent.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractHealthPredicate

public AbstractHealthPredicate()
Method Detail

isMatch

public boolean isMatch(HealthEvent event)
The abstract match returns true, so a child can combine its own matches with the parent. See AbstractScheduledCheckPredicate for a case where the parent isMatch doesn't return true.

Specified by:
isMatch in interface HealthPredicate

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object