public void fireExternalTaskFailedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_FAIL, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogFailedEvt(externalTask); } }); } }
public void fireExternalTaskSuccessfulEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_SUCCESS, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogSuccessfulEvt(externalTask); } }); } }
public void fireExternalTaskCreatedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_CREATE, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogCreatedEvt(externalTask); } }); } }
public void fireExternalTaskFailedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_FAIL, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogFailedEvt(externalTask); } }); } }
public void fireExternalTaskDeletedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_DELETE, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogDeletedEvt(externalTask); } }); } }
public void fireExternalTaskDeletedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_DELETE, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogDeletedEvt(externalTask); } }); } }
public void fireExternalTaskCreatedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_CREATE, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogCreatedEvt(externalTask); } }); } }
public void fireExternalTaskSuccessfulEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_SUCCESS, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogSuccessfulEvt(externalTask); } }); } }
public void fireExternalTaskFailedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_FAIL, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogFailedEvt(externalTask); } }); } }
public void fireExternalTaskCreatedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_CREATE, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogCreatedEvt(externalTask); } }); } }
public void fireExternalTaskSuccessfulEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_SUCCESS, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogSuccessfulEvt(externalTask); } }); } }
public void fireExternalTaskDeletedEvent(final ExternalTask externalTask) { if (isHistoryEventProduced(HistoryEventTypes.EXTERNAL_TASK_DELETE, externalTask)) { HistoryEventProcessor.processHistoryEvents(new HistoryEventProcessor.HistoryEventCreator() { @Override public HistoryEvent createHistoryEvent(HistoryEventProducer producer) { return producer.createHistoricExternalTaskLogDeletedEvt(externalTask); } }); } }