예제 #1
0
  @Override
  public void notify(DelegateTask delegateTask) {

    if (LOGGER.isTraceEnabled()) {
      LOGGER.trace(
          "notify called; event name = {}, name = {}",
          delegateTask.getEventName(),
          delegateTask.getName());
    }

    ActivitiInterface activitiInterface = SpringApplicationContextHolder.getActivitiInterface();
    activitiInterface.notifyMidpointAboutTaskEvent(delegateTask);
  }
예제 #2
0
 public void calledInExpression(DelegateTask task, String eventName) {
   task.setVariable("calledInExpression", task.getName() + "-" + eventName);
 }
예제 #3
0
 public void notify(DelegateTask delegateTask) {
   delegateTask.setVariable("calledThroughNotify", delegateTask.getName() + "-notify");
 }