public void addGateway(final SGatewayDefinition gateway) { gateways.add(gateway); if (gateway.getGatewayType() == SGatewayType.INCLUSIVE) { containsInclusiveGateway = true; } gatewaysMap.put(gateway.getName(), gateway); addFlowNode(gateway); }
private boolean isInclusiveGateway(SGatewayDefinition gateway) { return gateway.getGatewayType() == SGatewayType.INCLUSIVE; }
private boolean isInclusiveGateway(SGatewayDefinition gateway) { return gateway.getGatewayType() == SGatewayType.INCLUSIVE; }
public void addGateway(final SGatewayDefinition gateway) { gateways.add(gateway); if (gateway.getGatewayType() == SGatewayType.INCLUSIVE) { containsInclusiveGateway = true; } gatewaysMap.put(gateway.getName(), gateway); addFlowNode(gateway); }
private SGatewayInstanceBuilder createGatewayInstance(final long processDefinitionId, final long rootContainerId, final long parentContainerId, final SFlowElementsContainerType parentContainerType, final SFlowNodeDefinition sFlowNodeDefinition, final long rootProcessInstanceId, final long parentProcessInstanceId) { final SGatewayInstanceBuilder builder = BuilderFactory.get(SGatewayInstanceBuilderFactory.class).createNewInstance(sFlowNodeDefinition.getName(), sFlowNodeDefinition.getId(), rootContainerId, parentContainerId, ((SGatewayDefinition) sFlowNodeDefinition).getGatewayType(), processDefinitionId, rootProcessInstanceId, parentProcessInstanceId); updateFlowNodeInstance(parentContainerId, parentContainerType, builder); return builder; }
private SGatewayInstanceBuilder createGatewayInstance(final long processDefinitionId, final long rootContainerId, final long parentContainerId, final SFlowElementsContainerType parentContainerType, final SFlowNodeDefinition sFlowNodeDefinition, final long rootProcessInstanceId, final long parentProcessInstanceId) { final SGatewayInstanceBuilder builder = BuilderFactory.get(SGatewayInstanceBuilderFactory.class).createNewInstance(sFlowNodeDefinition.getName(), sFlowNodeDefinition.getId(), rootContainerId, parentContainerId, ((SGatewayDefinition) sFlowNodeDefinition).getGatewayType(), processDefinitionId, rootProcessInstanceId, parentProcessInstanceId); updateFlowNodeInstance(parentContainerId, parentContainerType, builder); return builder; }