Class BpmnDisplayJsonConverter


  • @Component
    public class BpmnDisplayJsonConverter
    extends Object
    • Field Detail

      • objectMapper

        protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
      • eventElementTypes

        protected List<String> eventElementTypes
    • Constructor Detail

      • BpmnDisplayJsonConverter

        public BpmnDisplayJsonConverter()
    • Method Detail

      • processProcessElements

        public void processProcessElements​(AbstractModel processModel,
                                           com.fasterxml.jackson.databind.node.ObjectNode displayNode,
                                           GraphicInfo diagramInfo)
      • processElements

        protected void processElements​(Collection<FlowElement> elementList,
                                       BpmnModel model,
                                       com.fasterxml.jackson.databind.node.ArrayNode elementArray,
                                       com.fasterxml.jackson.databind.node.ArrayNode flowArray,
                                       GraphicInfo diagramInfo)
      • processArtifacts

        protected void processArtifacts​(Collection<Artifact> artifactList,
                                        BpmnModel model,
                                        com.fasterxml.jackson.databind.node.ArrayNode elementArray,
                                        com.fasterxml.jackson.databind.node.ArrayNode flowArray,
                                        GraphicInfo diagramInfo)
      • fillWaypoints

        protected void fillWaypoints​(String id,
                                     BpmnModel model,
                                     com.fasterxml.jackson.databind.node.ObjectNode elementNode,
                                     GraphicInfo diagramInfo)
      • fillEventTypes

        protected void fillEventTypes​(String className,
                                      FlowElement element,
                                      com.fasterxml.jackson.databind.node.ObjectNode elementNode)
      • fillGraphicInfo

        protected void fillGraphicInfo​(com.fasterxml.jackson.databind.node.ObjectNode elementNode,
                                       GraphicInfo graphicInfo,
                                       boolean includeWidthAndHeight)
      • commonFillGraphicInfo

        protected void commonFillGraphicInfo​(com.fasterxml.jackson.databind.node.ObjectNode elementNode,
                                             double x,
                                             double y,
                                             double width,
                                             double height,
                                             boolean includeWidthAndHeight)