return patternEventMatcher;
}
private WarnEventMatcher readWarnEvent(Element element) {
WarnEventMatcher warnEventMatcher = new WarnEventMatcher();
if (element.hasAttribute("message")) {
warnEventMatcher.setMessageField(element.getAttribute("message"));
}
if (element.hasAttribute("priority-field")) {
warnEventMatcher.setMessageField(element.getAttribute("priority-field"));
}
return warnEventMatcher;
}