public abstract class AbstractTypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.TypedValue> extends Object implements TypedValueSerializer<T>
Modifier and Type | Field and Description |
---|---|
static Set<String> |
BINARY_VALUE_TYPES |
protected org.camunda.bpm.engine.variable.type.ValueType |
valueType |
Constructor and Description |
---|
AbstractTypedValueSerializer(org.camunda.bpm.engine.variable.type.ValueType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(org.camunda.bpm.engine.variable.value.TypedValue value)
Used for auto-detecting the value type of a variable.
|
protected abstract boolean |
canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue value) |
String |
getSerializationDataformat() |
org.camunda.bpm.engine.variable.type.ValueType |
getType()
The
VariableType supported |
boolean |
isMutableValue(T typedValue) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertToTypedValue, getName, readValue, writeValue
public AbstractTypedValueSerializer(org.camunda.bpm.engine.variable.type.ValueType type)
public org.camunda.bpm.engine.variable.type.ValueType getType()
TypedValueSerializer
VariableType
supportedgetType
in interface TypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.TypedValue>
public String getSerializationDataformat()
getSerializationDataformat
in interface TypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.TypedValue>
public boolean canHandle(org.camunda.bpm.engine.variable.value.TypedValue value)
TypedValueSerializer
canHandle
in interface TypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.TypedValue>
value
- the valueTypedValueSerializer
is able to handle the provided valueprotected abstract boolean canWriteValue(org.camunda.bpm.engine.variable.value.TypedValue value)
public boolean isMutableValue(T typedValue)
isMutableValue
in interface TypedValueSerializer<T extends org.camunda.bpm.engine.variable.value.TypedValue>
Copyright © 2019. All rights reserved.