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); } }
//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); } }
public virtual void execute(PerfTestRunContext context) { // nothing to do }
public override void execute(PerfTestRunContext context) { Execution execution = runtimeService.createExecutionQuery().messageEventSubscriptionName(message).processInstanceId((string)context.getVariable(processInstanceKey)).singleResult(); runtimeService.messageEventReceived(message, execution.Id); }
public override void execute(PerfTestRunContext context) { string executionId = context.getVariable(executionIdVariableName); runtimeService.signal(executionId); }
public abstract void execute(org.camunda.bpm.qa.performance.engine.framework.PerfTestRunContext context);