
org.yaoqiang.bpmn.engine.operation.SequenceFlowTake Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yaoqiang-bpmn-editor Show documentation
Show all versions of yaoqiang-bpmn-editor Show documentation
an Open Source BPMN 2.0 Modeler
package org.yaoqiang.bpmn.engine.operation;
import java.util.logging.Logger;
import org.yaoqiang.bpmn.engine.runtime.Execution;
/**
* SequenceFlowTake
*
* @author Shi Yaoqiang([email protected])
*/
public class SequenceFlowTake implements ExecutionOperation {
private static Logger log = Logger.getLogger(SequenceFlowTake.class.getName());
public void execute(Execution execution) {
log.fine(execution + " takes transition " + execution.getSequenceFlow().getSourceFlowNode().getName() + " --> " + execution.getSequenceFlow().getTargetFlowNode().getName());
execution.setFlowNode(execution.getSequenceFlow().getTargetFlowNode());
execution.performOperation(SEQUENCE_FLOW_CREATE_SCOPE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy