@Configurable public class Or extends AbstractCombiningPredicate
<health:HttpStatusHealthCheck ee:Named="httpCheck1">
<url>http://localhost:8080/check1.jsp</url>
</health:HttpStatusHealthCheck>
<health:HttpStatusHealthCheck ee:Named="httpCheck2">
<url>http://localhost:8080/check2.jsp</url>
</health:HttpStatusHealthCheck>
<health:Restart>
<health:Or>
<health:IfHealthCritical healthCheck="${httpCheck1}"/>
<health:IfHealthCritical healthCheck="${httpCheck2}"/>
</health:Or>
</health:Restart>
Constructor and Description |
---|
Or() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(HealthEvent healthEvent)
Matches children with logical OR operation
|
add, getPredicates, init, setAction
toString
public boolean isMatch(HealthEvent healthEvent)
isMatch
in interface HealthPredicate
isMatch
in class AbstractHealthPredicate