Class PolicyResourceConverterImpl
java.lang.Object
com.flowable.policy.engine.impl.deployer.PolicyResourceConverterImpl
- All Implemented Interfaces:
PolicyResourceConverter
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.fasterxml.jackson.databind.ObjectMapper
-
Constructor Summary
ConstructorDescriptionPolicyResourceConverterImpl
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionconvertPolicyModelToJson
(PolicyModel policyModel) protected PolicyModel
convertPolicyNodeToModel
(com.fasterxml.jackson.databind.JsonNode policyNode) convertPolicyResourceToModel
(byte[] policyResourceBytes) convertPolicyResourceToModel
(InputStream policyResourceStream) protected String
getTypeValue
(com.fasterxml.jackson.databind.JsonNode policyNode)
-
Field Details
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
PolicyResourceConverterImpl
public PolicyResourceConverterImpl(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
convertPolicyResourceToModel
- Specified by:
convertPolicyResourceToModel
in interfacePolicyResourceConverter
-
convertPolicyResourceToModel
- Specified by:
convertPolicyResourceToModel
in interfacePolicyResourceConverter
-
convertPolicyModelToJson
- Specified by:
convertPolicyModelToJson
in interfacePolicyResourceConverter
-
convertPolicyNodeToModel
-
getTypeValue
-