@Configurable public class IfHealthEvent extends AbstractHealthPredicate
<health:ThreadDump>
<health:IfHealthEvent regexp="caucho.thread"/>
</health:ThreadDump>
| Constructor and Description |
|---|
IfHealthEvent() |
IfHealthEvent(java.util.regex.Pattern regexp) |
IfHealthEvent(java.lang.String regexp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isMatch(HealthEvent event)
The abstract match returns true, so a child can combine its own
matches with the parent.
|
void |
setRegexp(java.util.regex.Pattern regexp) |
toStringpublic IfHealthEvent()
public IfHealthEvent(java.util.regex.Pattern regexp)
public IfHealthEvent(java.lang.String regexp)
public void setRegexp(java.util.regex.Pattern regexp)
public boolean isMatch(HealthEvent event)
AbstractHealthPredicateisMatch doesn't return true.isMatch in interface HealthPredicateisMatch in class AbstractHealthPredicate