public class Variables extends Object
This class is the entry point to the process engine's typed variables API. Users can import the methods provided by this class using a static import:
import static org.camunda.bpm.engine.variable.Variables.*;
Modifier and Type | Class and Description |
---|---|
static class |
Variables.SerializationDataFormats
A set of builtin serialization dataformat constants.
|
Constructor and Description |
---|
Variables() |
Modifier and Type | Method and Description |
---|---|
static BooleanValue |
booleanValue(Boolean booleanValue) |
static BytesValue |
byteArrayValue(byte[] bytes) |
static VariableMap |
createVariables() |
static DateValue |
dateValue(Date date) |
static DoubleValue |
doubleValue(Double doubleValue) |
static VariableMap |
fromMap(Map<String,Object> map) |
static IntegerValue |
integerValue(Integer integer) |
static LongValue |
longValue(Long longValue) |
static NumberValue |
numberValue(Number numberValue)
Creates an abstract Number value.
|
static ObjectValueBuilder |
objectValue(Object value) |
static SerializedObjectValueBuilder |
serializedObjectValue() |
static SerializedObjectValueBuilder |
serializedObjectValue(String value) |
static ShortValue |
shortValue(Short shortValue) |
static StringValue |
stringValue(String stringValue) |
static TypedValue |
untypedNullValue() |
static TypedValue |
untypedValue(Object value) |
public static VariableMap createVariables()
public static VariableMap fromMap(Map<String,Object> map)
public static ObjectValueBuilder objectValue(Object value)
public static SerializedObjectValueBuilder serializedObjectValue()
public static SerializedObjectValueBuilder serializedObjectValue(String value)
public static IntegerValue integerValue(Integer integer)
public static StringValue stringValue(String stringValue)
public static BooleanValue booleanValue(Boolean booleanValue)
public static BytesValue byteArrayValue(byte[] bytes)
public static ShortValue shortValue(Short shortValue)
public static DoubleValue doubleValue(Double doubleValue)
public static NumberValue numberValue(Number numberValue)
integerValue(Integer)
, shortValue(Short)
,
longValue(Long)
and doubleValue(Double)
instead.public static TypedValue untypedNullValue()
public static TypedValue untypedValue(Object value)
Copyright © 2018. All rights reserved.