public class DynamicProcessDefinitionSummary extends Object implements DynamicBpmnConstants
DynamicBpmnService.getProcessDefinitionInfo(String)
 and BpmnModel. Without exposing the internal behavoir of activiti's logic.
 Created by Pardo David on 5/12/2016.BPMN_NODE, LOCALIZATION_DESCRIPTION, LOCALIZATION_LANGUAGE, LOCALIZATION_NAME, LOCALIZATION_NODE, SCRIPT_TASK_SCRIPT, SEQUENCE_FLOW_CONDITION, SERVICE_TASK_CLASS_NAME, SERVICE_TASK_DELEGATE_EXPRESSION, SERVICE_TASK_EXPRESSION, TASK_SKIP_EXPRESSION, USER_TASK_ASSIGNEE, USER_TASK_CANDIDATE_GROUPS, USER_TASK_CANDIDATE_USERS, USER_TASK_CATEGORY, USER_TASK_DESCRIPTION, USER_TASK_DUEDATE, USER_TASK_FORM_KEY, USER_TASK_NAME, USER_TASK_OWNER, USER_TASK_PRIORITY| Constructor and Description | 
|---|
DynamicProcessDefinitionSummary(org.activiti.bpmn.model.BpmnModel bpmnModel,
                               com.fasterxml.jackson.databind.node.ObjectNode processInfo,
                               com.fasterxml.jackson.databind.ObjectMapper objectMapper)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected com.fasterxml.jackson.databind.node.ObjectNode | 
getBpmnProperties(String elementId,
                 com.fasterxml.jackson.databind.node.ObjectNode processInfoNode)  | 
com.fasterxml.jackson.databind.node.ObjectNode | 
getElement(String elementId)
Returns the summary in the following structure: 
 | 
com.fasterxml.jackson.databind.node.ObjectNode | 
getSummary()  | 
public DynamicProcessDefinitionSummary(org.activiti.bpmn.model.BpmnModel bpmnModel,
                                       com.fasterxml.jackson.databind.node.ObjectNode processInfo,
                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public com.fasterxml.jackson.databind.node.ObjectNode getElement(String elementId) throws IllegalStateException
 {
     "elementId": (the elements id)
     "elementType": (the elements type)
     "elementSummary": {
         "DynamicBpmnConstants linked to the elementType": {
             bpmnmodel : (array of strings | string | not provided if empty / blank / null)
             dynamic: (array of strings or string or not provided if blank or empty)
         }
     }
 }
 
 
     If no value is found for a given DynamicBpmnConstants in the BpmnModel or
     ProcessDefinitionInfo. we don't store an key in the resulting ObjectNode. Null values should be avoided
     in JSON. Depending on the ObjectMapper configuration keys with a null value could even be removed when writting to json.
 
Currently supported flow elements are:
elementId - the id of the FlowElement.ObjectNode with the provided structure.IllegalStateException - if no FlowElement is found for the provided id.public com.fasterxml.jackson.databind.node.ObjectNode getSummary()
protected com.fasterxml.jackson.databind.node.ObjectNode getBpmnProperties(String elementId, com.fasterxml.jackson.databind.node.ObjectNode processInfoNode)
Copyright © 2017 Flowable. All rights reserved.