|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializedVariableValue
The serialized representation of a process variable.
Depending on the variable type, it can have different values and configurations.
Confer ProcessEngineVariableType for documentation of the default variable
types.
SerializedVariableValueBuilder can be used for creating an instance of SerializedVariableValue:
SerializedVariableValue serializedValue = SerializedVariableValueBuilder.create()
.value("{\"someProp\": 1}")
.configValue(ProcessEngineVariableType.SPIN_TYPE_DATA_FORMAT_ID, "application/json")
.done();
| Method Summary | |
|---|---|
Map<String,Object> |
getConfig()
Returns variable configuration that is required for the serialized that provides meaning to the serialized value. |
Object |
getValue()
Returns the serialized representation of the variable. |
| Method Detail |
|---|
Object getValue()
Map<String,Object> getConfig()
VariableType; These classes also provide constants for accessing the expected
configuration properties.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||