Package dev.dsf.bpe.variables
Class TargetSerializer
java.lang.Object
org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer<T>
org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<TargetValues.TargetValue>
dev.dsf.bpe.variables.TargetSerializer
- All Implemented Interfaces:
org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<TargetValues.TargetValue>,org.springframework.beans.factory.InitializingBean
public class TargetSerializer
extends org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<TargetValues.TargetValue>
implements org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer
BINARY_VALUE_TYPES, valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue) readValue(org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields, boolean asTransientValue) voidwriteValue(TargetValues.TargetValue value, org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields) Methods inherited from class org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer
canWriteValue, getName, getType, readValueMethods inherited from class org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer
canHandle, getSerializationDataformat, isMutableValue
-
Constructor Details
-
TargetSerializer
public TargetSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
writeValue
public void writeValue(TargetValues.TargetValue value, org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields) - Specified by:
writeValuein interfaceorg.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<TargetValues.TargetValue>
-
convertToTypedValue
public TargetValues.TargetValue convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue) - Specified by:
convertToTypedValuein interfaceorg.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<TargetValues.TargetValue>
-
readValue
public TargetValues.TargetValue readValue(org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields, boolean asTransientValue) - Specified by:
readValuein classorg.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<TargetValues.TargetValue>
-