events.add(new JcrPropertyEvent(bundle, Event.PROPERTY_REMOVED, stringFor(propertyPath), nodeId, currentValue,
primaryType, mixinTypes));
} else if (nodeChange instanceof NodeSequenced && eventListenedFor(NODE_SEQUENCED)) {
// create event for the sequenced node
NodeSequenced sequencedChange = (NodeSequenced)nodeChange;
Map<String, Object> infoMap = createEventInfoMapForSequencerChange(sequencedChange);
events.add(new JcrEvent(bundle, NODE_SEQUENCED, stringFor(sequencedChange.getOutputNodePath()),
nodeIdentifier(sequencedChange.getOutputNodeKey()), infoMap, primaryType, mixinTypes));
} else if (nodeChange instanceof NodeSequencingFailure && eventListenedFor(NODE_SEQUENCING_FAILURE)) {
// create event for the sequencing failure
NodeSequencingFailure sequencingFailure = (NodeSequencingFailure)nodeChange;
Map<String, Object> infoMap = createEventInfoMapForSequencerChange(sequencingFailure);