docs: private void publishEvent(WSJobExecution objectToPublish, String eventToPublishTo, String correlationId) {
          if (eventsPublisher != null) {
              eventsPublisher.publishJobExecutionEvent(objectToPublish, eventToPublishTo, correlationId);
          }
      }