Package org.flowable.engine.dynamic
Class BasePropertiesParser
- java.lang.Object
-
- org.flowable.engine.dynamic.BasePropertiesParser
-
- All Implemented Interfaces:
PropertiesParser,PropertiesParserConstants,DynamicBpmnConstants
- Direct Known Subclasses:
DefaultPropertiesParser,ScriptTaskPropertiesParser,UserTaskPropertiesParser
public abstract class BasePropertiesParser extends Object implements PropertiesParser, DynamicBpmnConstants, PropertiesParserConstants
Created by Pardo David on 5/12/2016.
-
-
Field Summary
-
Fields inherited from interface org.flowable.engine.DynamicBpmnConstants
BPMN_NODE, CALL_ACTIVITY_CALLED_ELEMENT, DMN_TASK_DECISION_TABLE_KEY, ENABLE_SKIP_EXPRESSION, GLOBAL_PROCESS_DEFINITION_PROPERTIES, LOCALIZATION_DESCRIPTION, LOCALIZATION_LANGUAGE, LOCALIZATION_NAME, LOCALIZATION_NODE, MULTI_INSTANCE_COMPLETION_CONDITION, 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, USER_TASK_TASK_ID_VARIABLE_NAME
-
Fields inherited from interface org.flowable.engine.dynamic.PropertiesParserConstants
BPMN_MODEL_VALUE, DYNAMIC_VALUE, ELEMENT_ID, ELEMENT_PROPERTIES, ELEMENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description BasePropertiesParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract com.fasterxml.jackson.databind.node.ObjectNodecreatePropertiesNode(org.flowable.bpmn.model.FlowElement flowElement, com.fasterxml.jackson.databind.node.ObjectNode flowElementNode, com.fasterxml.jackson.databind.ObjectMapper objectMapper)com.fasterxml.jackson.databind.node.ObjectNodeparseElement(org.flowable.bpmn.model.FlowElement flowElement, com.fasterxml.jackson.databind.node.ObjectNode flowElementNode, com.fasterxml.jackson.databind.ObjectMapper mapper)protected voidputPropertyValue(String key, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.node.ObjectNode propertiesNode)protected voidputPropertyValue(String key, String value, com.fasterxml.jackson.databind.node.ObjectNode propertiesNode)protected voidputPropertyValue(String key, List<String> values, com.fasterxml.jackson.databind.node.ObjectNode propertiesNode)abstract booleansupports(org.flowable.bpmn.model.FlowElement flowElement)
-
-
-
Method Detail
-
parseElement
public com.fasterxml.jackson.databind.node.ObjectNode parseElement(org.flowable.bpmn.model.FlowElement flowElement, com.fasterxml.jackson.databind.node.ObjectNode flowElementNode, com.fasterxml.jackson.databind.ObjectMapper mapper)- Specified by:
parseElementin interfacePropertiesParser
-
putPropertyValue
protected void putPropertyValue(String key, String value, com.fasterxml.jackson.databind.node.ObjectNode propertiesNode)
-
putPropertyValue
protected void putPropertyValue(String key, List<String> values, com.fasterxml.jackson.databind.node.ObjectNode propertiesNode)
-
putPropertyValue
protected void putPropertyValue(String key, com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.node.ObjectNode propertiesNode)
-
createPropertiesNode
protected abstract com.fasterxml.jackson.databind.node.ObjectNode createPropertiesNode(org.flowable.bpmn.model.FlowElement flowElement, com.fasterxml.jackson.databind.node.ObjectNode flowElementNode, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
supports
public abstract boolean supports(org.flowable.bpmn.model.FlowElement flowElement)
- Specified by:
supportsin interfacePropertiesParser
-
-