Package org.flowable.engine.migration
Class ProcessInstanceMigrationDocumentConverter
java.lang.Object
org.flowable.engine.migration.ProcessInstanceMigrationDocumentConverter
- Author:
- Dennis, martin.grofcik
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ProcessInstanceMigrationDocumentConverter.BaseActivityMigrationMappingConverter<T extends ActivityMigrationMapping>
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected static Map<Class<? extends ActivityMigrationMapping>,
ProcessInstanceMigrationDocumentConverter.BaseActivityMigrationMappingConverter> protected static Predicate<com.fasterxml.jackson.databind.JsonNode>
protected static Predicate<com.fasterxml.jackson.databind.JsonNode>
protected static Predicate<com.fasterxml.jackson.databind.JsonNode>
protected static com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertFromJson
(String jsonProcessInstanceMigrationDocument) protected static <T> T
convertFromJsonNodeToObject
(com.fasterxml.jackson.databind.JsonNode jsonNode, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static com.fasterxml.jackson.databind.JsonNode
convertToJson
(ProcessInstanceMigrationDocument processInstanceMigrationDocument) protected static com.fasterxml.jackson.databind.node.ArrayNode
convertToJsonActivityMigrationMappings
(List<? extends ActivityMigrationMapping> activityMigrationMappings) protected static com.fasterxml.jackson.databind.node.ArrayNode
convertToJsonEnableActivityMappings
(List<? extends EnableActivityMapping> enableActivityMappings) protected static com.fasterxml.jackson.databind.JsonNode
convertToJsonProcessInstanceVariables
(ProcessInstanceMigrationDocument processInstanceMigrationDocument, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static String
convertToJsonString
(ProcessInstanceMigrationDocument processInstanceMigrationDocument) protected static com.fasterxml.jackson.databind.JsonNode
convertToJsonUpgradeScript
(Script script, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Field Details
-
isNotNullNode
-
isSingleTextValue
-
isMultiValue
-
objectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper objectMapper -
activityMigrationMappingConverters
protected static Map<Class<? extends ActivityMigrationMapping>,ProcessInstanceMigrationDocumentConverter.BaseActivityMigrationMappingConverter> activityMigrationMappingConverters
-
-
Constructor Details
-
ProcessInstanceMigrationDocumentConverter
public ProcessInstanceMigrationDocumentConverter()
-
-
Method Details
-
convertFromJsonNodeToObject
protected static <T> T convertFromJsonNodeToObject(com.fasterxml.jackson.databind.JsonNode jsonNode, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
convertToJson
public static com.fasterxml.jackson.databind.JsonNode convertToJson(ProcessInstanceMigrationDocument processInstanceMigrationDocument) -
convertToJsonString
public static String convertToJsonString(ProcessInstanceMigrationDocument processInstanceMigrationDocument) -
convertToJsonActivityMigrationMappings
protected static com.fasterxml.jackson.databind.node.ArrayNode convertToJsonActivityMigrationMappings(List<? extends ActivityMigrationMapping> activityMigrationMappings) -
convertToJsonEnableActivityMappings
protected static com.fasterxml.jackson.databind.node.ArrayNode convertToJsonEnableActivityMappings(List<? extends EnableActivityMapping> enableActivityMappings) -
convertFromJson
public static ProcessInstanceMigrationDocument convertFromJson(String jsonProcessInstanceMigrationDocument) -
convertToJsonProcessInstanceVariables
protected static com.fasterxml.jackson.databind.JsonNode convertToJsonProcessInstanceVariables(ProcessInstanceMigrationDocument processInstanceMigrationDocument, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
convertToJsonUpgradeScript
protected static com.fasterxml.jackson.databind.JsonNode convertToJsonUpgradeScript(Script script, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-