if ((tlEventTypes.get() == null) ||
tlEventTypes.get().contains(ConfigUpdateEvent.TYPE)) {
if ((tlEventMask.get() == null) ||
node.matches(tlEventMask.get())) {
ConfigUpdateEvent configEvent = new ConfigUpdateEvent(this,
node);
if (!currentEventQueue.contains(configEvent)) {
currentEventQueue.add(configEvent);
if (log.isLoggable(Level.FINEST)) {
log.log(Level.FINEST, "Captured event " +
configEvent.getType() + " : " +
configEvent.getNode() + " mask: " +
tlEventMask.get() + " types: " +
tlEventTypes.get());
}
} else {
if (log.isLoggable(Level.FINEST)) {
log.log(Level.FINEST, "Skipped duplicate event " +
configEvent.getType() + " : " +
configEvent.getNode() + " mask: " +
tlEventMask.get() + " types: " +
tlEventTypes.get());
}
}
}