Class AbstractNESTtoBPMNConverter<T extends NESTAbstractWorkflowObject>

  • All Implemented Interfaces:
    OneWayConverter<T,​org.camunda.bpm.model.bpmn.BpmnModelInstance>

    public abstract class AbstractNESTtoBPMNConverter<T extends NESTAbstractWorkflowObject>
    extends Object
    implements OneWayConverter<T,​org.camunda.bpm.model.bpmn.BpmnModelInstance>
    Abstract implementation of a converter for converting a block-oriented NESTWorkflow object into a BPMN2 object.

    The following BPMN 2.0 elements are supported:

    • - Task Nodes such as Task, ServiceTask, ScriptTask, ManualTask, HumanTask
    • - SubProcess
    • - Gateway Nodes such as ExclusiveGateway, EventBasedGateway, ParallelGateway
    Author:
    Christian Zeyen
    • Field Detail

      • targetNamespace

        protected String targetNamespace
      • createdFlowElements

        protected Map<String,​org.camunda.bpm.model.bpmn.instance.FlowElement> createdFlowElements
      • modelInstance

        protected org.camunda.bpm.model.bpmn.BpmnModelInstance modelInstance
    • Constructor Detail

      • AbstractNESTtoBPMNConverter

        public AbstractNESTtoBPMNConverter()
    • Method Detail

      • getClassForNode

        protected abstract <I extends org.camunda.bpm.model.bpmn.instance.FlowNode> Class<I> getClassForNode​(NESTNodeObject currentNode)
      • getExtensionElementsForNode

        protected abstract org.camunda.bpm.model.bpmn.instance.ExtensionElements getExtensionElementsForNode​(NESTNodeObject currentNode)
      • getExtensionElementsForEdge

        protected abstract org.camunda.bpm.model.bpmn.instance.ExtensionElements getExtensionElementsForEdge​(NESTEdgeObject currentEdge)
      • createEmptyModel

        protected org.camunda.bpm.model.bpmn.BpmnModelInstance createEmptyModel()
      • convertNestNode

        public org.camunda.bpm.model.bpmn.instance.FlowNode convertNestNode​(NESTNodeObject nestNode,
                                                                            org.camunda.bpm.model.bpmn.instance.BaseElement parent)
                                                                     throws Exception
        Throws:
        Exception
      • getTargetNamespace

        public String getTargetNamespace()
      • setTargetNamespace

        public void setTargetNamespace​(String targetNamespace)