code: private static void publishEvent(String event, SiteNode node) {
  		ZAP.getEventBus().publishSyncEvent(SiteMapEventPublisher.getPublisher(), new Event(SiteMapEventPublisher.getPublisher(), event, new Target(node)));
  	}
docs: Publish the event being carried out.
  
  @param event the event that is happening
  @param node the node being acted upon
  @since 2.5.0