Example #1
0
        public virtual void notify(DelegateTask delegateTask)
        {
            int?counter = (int?)delegateTask.getVariable("taskListenerCounter");

            if (counter == null)
            {
                counter = 0;
            }
            delegateTask.setVariable("taskListenerCounter", ++counter);
        }
Example #2
0
 public virtual void notify(DelegateTask delegateTask)
 {
     delegateTask.setVariable("listener", "listener-notified");
 }
Example #3
0
 public void notify(DelegateTask delegateTask)
 {
     delegateTask.setVariable(delegateTask.EventName, true);
 }
Example #4
0
 public virtual void calledInExpression(DelegateTask task, string eventName)
 {
     task.setVariable("calledInExpression", task.Name + "-" + eventName);
 }
Example #5
0
 public virtual void notify(DelegateTask delegateTask)
 {
     delegateTask.setVariable("calledThroughNotify", delegateTask.Name + "-notify");
 }