org.camunda.bpm.scenario.impl.waitstate.MessageIntermediateThrowEventExecutable Maven / Gradle / Ivy
package org.camunda.bpm.scenario.impl.waitstate;
import org.camunda.bpm.engine.history.HistoricActivityInstance;
import org.camunda.bpm.scenario.ProcessScenario;
import org.camunda.bpm.scenario.act.Action;
import org.camunda.bpm.scenario.delegate.ExternalTaskDelegate;
import org.camunda.bpm.scenario.impl.ProcessRunnerImpl;
import java.util.Map;
/**
* @author Martin Schimak
*/
public class MessageIntermediateThrowEventExecutable extends ServiceTaskExecutable {
public MessageIntermediateThrowEventExecutable(ProcessRunnerImpl runner, HistoricActivityInstance instance) {
super(runner, instance);
}
@Override
protected Action action(ProcessScenario scenario) {
return scenario.waitsAtMessageIntermediateThrowEvent(getActivityId());
}
@Override
public void complete() {
super.complete();
}
@Override
public void complete(Map variables) {
super.complete(variables);
}
@Override
public void handleBpmnError(String errorCode) {
super.handleBpmnError(errorCode);
}
}