Class JsonValueImpl

java.lang.Object
org.camunda.bpm.engine.variable.impl.value.AbstractTypedValue<org.camunda.spin.Spin<?>>
org.camunda.spin.plugin.variable.value.impl.SpinValueImpl
org.camunda.spin.plugin.variable.value.impl.JsonValueImpl
All Implemented Interfaces:
Serializable, org.camunda.bpm.engine.variable.value.SerializableValue, org.camunda.bpm.engine.variable.value.TypedValue, JsonValue, SpinValue

public class JsonValueImpl extends SpinValueImpl implements JsonValue
Author:
Roman Smirnov
See Also:
  • Constructor Details

    • JsonValueImpl

      public JsonValueImpl(String value)
    • JsonValueImpl

      public JsonValueImpl(org.camunda.spin.json.SpinJsonNode value)
    • JsonValueImpl

      public JsonValueImpl(String value, String dataFormatName)
    • JsonValueImpl

      public JsonValueImpl(org.camunda.spin.json.SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized)
    • JsonValueImpl

      public JsonValueImpl(org.camunda.spin.json.SpinJsonNode value, String serializedValue, String dataFormatName, boolean isDeserialized, boolean isTransient)
  • Method Details

    • getDataFormat

      public org.camunda.spin.spi.DataFormat<org.camunda.spin.json.SpinJsonNode> getDataFormat()
      Specified by:
      getDataFormat in interface JsonValue
      Specified by:
      getDataFormat in interface SpinValue
      Overrides:
      getDataFormat in class SpinValueImpl
    • getType

      public JsonValueType getType()
      Specified by:
      getType in interface JsonValue
      Specified by:
      getType in interface org.camunda.bpm.engine.variable.value.SerializableValue
      Specified by:
      getType in interface org.camunda.bpm.engine.variable.value.TypedValue
      Overrides:
      getType in class SpinValueImpl
    • getValue

      public org.camunda.spin.json.SpinJsonNode getValue()
      Specified by:
      getValue in interface JsonValue
      Specified by:
      getValue in interface org.camunda.bpm.engine.variable.value.SerializableValue
      Specified by:
      getValue in interface SpinValue
      Specified by:
      getValue in interface org.camunda.bpm.engine.variable.value.TypedValue
      Overrides:
      getValue in class SpinValueImpl