Class TargetsSerializer

java.lang.Object
org.camunda.bpm.engine.impl.variable.serializer.AbstractTypedValueSerializer<T>
org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<TargetsValues.TargetsValue>
dev.dsf.bpe.variables.TargetsSerializer
All Implemented Interfaces:
org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<TargetsValues.TargetsValue>, org.springframework.beans.factory.InitializingBean

public class TargetsSerializer extends org.camunda.bpm.engine.impl.variable.serializer.PrimitiveValueSerializer<TargetsValues.TargetsValue> 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
    TargetsSerializer(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(TargetsValues.TargetsValue 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

    • TargetsSerializer

      public TargetsSerializer(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(TargetsValues.TargetsValue value, org.camunda.bpm.engine.impl.variable.serializer.ValueFields valueFields)
      Specified by:
      writeValue in interface org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<TargetsValues.TargetsValue>
    • convertToTypedValue

      public TargetsValues.TargetsValue convertToTypedValue(org.camunda.bpm.engine.variable.impl.value.UntypedValueImpl untypedValue)
      Specified by:
      convertToTypedValue in interface org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<TargetsValues.TargetsValue>
    • readValue

      public TargetsValues.TargetsValue 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<TargetsValues.TargetsValue>