Search in sources :

Example 1 with ExecutableFlowNode

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);
}
Also used : ExecutableFlowNode(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode)

Example 2 with ExecutableFlowNode

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);
}
Also used : ExecutableFlowNode(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode)

Example 3 with ExecutableFlowNode

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());
}
Also used : ExecutableFlowNode(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode) ExecutableProcess(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableProcess)

Example 4 with ExecutableFlowNode

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());
}
Also used : ExecutableFlowNode(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode) ExecutableProcess(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableProcess)

Example 5 with ExecutableFlowNode

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);
}
Also used : ExecutableFlowNode(io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode)

Aggregations

ExecutableFlowNode (io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableFlowNode)6 ExecutableProcess (io.camunda.zeebe.engine.processing.deployment.model.element.ExecutableProcess)3