Exemplo n.º 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);
  }
Exemplo n.º 2
0
 public void calledInExpression(DelegateTask task, String eventName) {
   task.setVariable("calledInExpression", task.getName() + "-" + eventName);
 }
Exemplo n.º 3
0
 public void notify(DelegateTask delegateTask) {
   delegateTask.setVariable("calledThroughNotify", delegateTask.getName() + "-notify");
 }