use of io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode in project zeebe by camunda.
the class SequenceFlowTransformer method connectWithFlowNodes.
private void connectWithFlowNodes(final SequenceFlow element, final ExecutableProcess process, final ExecutableSequenceFlow sequenceFlow) {
final ExecutableFlowNode source = process.getElementById(element.getSource().getId(), ExecutableFlowNode.class);
final ExecutableFlowNode target = process.getElementById(element.getTarget().getId(), ExecutableFlowNode.class);
source.addOutgoing(sequenceFlow);
target.addIncoming(sequenceFlow);
sequenceFlow.setTarget(target);
sequenceFlow.setSource(source);
}
use of io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode in project zeebe by zeebe-io.
the class SequenceFlowTransformer method connectWithFlowNodes.
private void connectWithFlowNodes(final SequenceFlow element, final ExecutableProcess process, final ExecutableSequenceFlow sequenceFlow) {
final ExecutableFlowNode source = process.getElementById(element.getSource().getId(), ExecutableFlowNode.class);
final ExecutableFlowNode target = process.getElementById(element.getTarget().getId(), ExecutableFlowNode.class);
source.addOutgoing(sequenceFlow);
target.addIncoming(sequenceFlow);
sequenceFlow.setTarget(target);
sequenceFlow.setSource(source);
}
use of io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode in project zeebe by camunda-cloud.
the class FlowNodeTransformer method transform.
@Override
public void transform(final FlowNode flowNode, final TransformContext context) {
final ExecutableProcess process = context.getCurrentProcess();
final ExecutableFlowNode element = process.getElementById(flowNode.getId(), ExecutableFlowNode.class);
setParentReference(flowNode, process, element);
transformIoMappings(flowNode, element, context.getExpressionLanguage());
}
use of io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode in project zeebe by zeebe-io.
the class FlowNodeTransformer method transform.
@Override
public void transform(final FlowNode flowNode, final TransformContext context) {
final ExecutableProcess process = context.getCurrentProcess();
final ExecutableFlowNode element = process.getElementById(flowNode.getId(), ExecutableFlowNode.class);
setParentReference(flowNode, process, element);
transformIoMappings(flowNode, element, context.getExpressionLanguage());
}
use of io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode in project zeebe by camunda-cloud.
the class SequenceFlowTransformer method connectWithFlowNodes.
private void connectWithFlowNodes(final SequenceFlow element, final ExecutableProcess process, final ExecutableSequenceFlow sequenceFlow) {
final ExecutableFlowNode source = process.getElementById(element.getSource().getId(), ExecutableFlowNode.class);
final ExecutableFlowNode target = process.getElementById(element.getTarget().getId(), ExecutableFlowNode.class);
source.addOutgoing(sequenceFlow);
target.addIncoming(sequenceFlow);
sequenceFlow.setTarget(target);
sequenceFlow.setSource(source);
}
Aggregations