示例#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);
            }
        }
示例#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);
            }
        }
示例#3
0
 public virtual void execute(PerfTestRunContext context)
 {
     // nothing to do
 }
示例#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);
	  }
示例#5
0
        public override void execute(PerfTestRunContext context)
        {
            string executionId = context.getVariable(executionIdVariableName);

            runtimeService.signal(executionId);
        }
示例#6
0
 public abstract void execute(org.camunda.bpm.qa.performance.engine.framework.PerfTestRunContext context);