public virtual void notify(DelegateTask delegateTask) { int?counter = (int?)delegateTask.getVariable("taskListenerCounter"); if (counter == null) { counter = 0; } delegateTask.setVariable("taskListenerCounter", ++counter); }
public virtual void notify(DelegateTask delegateTask) { delegateTask.setVariable("listener", "listener-notified"); }
public void notify(DelegateTask delegateTask) { delegateTask.setVariable(delegateTask.EventName, true); }
public virtual void calledInExpression(DelegateTask task, string eventName) { task.setVariable("calledInExpression", task.Name + "-" + eventName); }
public virtual void notify(DelegateTask delegateTask) { delegateTask.setVariable("calledThroughNotify", delegateTask.Name + "-notify"); }