Exemplo n.º 1
0
        public virtual void notify(DelegateTask delegateTask)
        {
            PerfTestRunContext perfTestRunContext = org.camunda.bpm.qa.performance.engine.framework.PerfTestRunContext_Fields.currentContext.get();

            if (perfTestRunContext != null)
            {
                perfTestRunContext.setVariable(TASK_ID, delegateTask.Id);
            }
        }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override public void notify(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception
        public virtual void notify(DelegateExecution execution)
        {
            PerfTestRunContext perfTestRunContext = org.camunda.bpm.qa.performance.engine.framework.PerfTestRunContext_Fields.currentContext.get();

            if (perfTestRunContext != null)
            {
                perfTestRunContext.setVariable(EXECUTION_ID, execution.Id);
            }
        }
Exemplo n.º 3
0
 public virtual void execute(PerfTestRunContext context)
 {
     // nothing to do
 }
Exemplo n.º 4
0
	  public override void execute(PerfTestRunContext context)
	  {
		Execution execution = runtimeService.createExecutionQuery().messageEventSubscriptionName(message).processInstanceId((string)context.getVariable(processInstanceKey)).singleResult();

		runtimeService.messageEventReceived(message, execution.Id);
	  }
Exemplo n.º 5
0
        public override void execute(PerfTestRunContext context)
        {
            string executionId = context.getVariable(executionIdVariableName);

            runtimeService.signal(executionId);
        }
Exemplo n.º 6
0
 public abstract void execute(org.camunda.bpm.qa.performance.engine.framework.PerfTestRunContext context);