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
    Constructor
    Description
    TargetSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
     
    readValue(org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields, boolean asTransientValue)
     
    void
    writeValue(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, readValue

    Methods inherited from class org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer

    canHandle, getSerializationDataformat, isMutableValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TargetSerializer

      public TargetSerializer(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • writeValue

      public void writeValue(TargetValues.TargetValue value, org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields)
      Specified by:
      writeValue in interface org.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:
      convertToTypedValue in interface org.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:
      readValue in class org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<TargetValues.TargetValue>