@Configurable public class Nor 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:Nor>
<health:IfHealthOk healthCheck="${httpCheck1}"/>
<health:IfHealthOk healthCheck="${httpCheck2}"/>
</health:Nor>
</health:Restart>
Constructor and Description |
---|
Nor() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMatch(HealthEvent healthEvent)
Matches children with logical NOR operation
|
add, getPredicates, init, setAction
toString
public boolean isMatch(HealthEvent healthEvent)
isMatch
in interface HealthPredicate
isMatch
in class AbstractHealthPredicate