org.camunda.bpm.engine.variable
Class Variables
java.lang.Object
org.camunda.bpm.engine.variable.Variables
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.*;
- Author:
- Daniel Meyer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Variables
public Variables()
createVariables
public static VariableMap createVariables()
fromMap
public static VariableMap fromMap(Map<String,Object> map)
objectValue
public static ObjectValueBuilder objectValue(Object value)
serializedObjectValue
public static SerializedObjectValueBuilder serializedObjectValue()
serializedObjectValue
public static SerializedObjectValueBuilder serializedObjectValue(String value)
integerValue
public static IntegerValue integerValue(Integer integer)
stringValue
public static StringValue stringValue(String stringValue)
booleanValue
public static BooleanValue booleanValue(Boolean booleanValue)
byteArrayValue
public static BytesValue byteArrayValue(byte[] bytes)
dateValue
public static DateValue dateValue(Date date)
longValue
public static LongValue longValue(Long longValue)
shortValue
public static ShortValue shortValue(Short shortValue)
doubleValue
public static DoubleValue doubleValue(Double doubleValue)
numberValue
public static NumberValue numberValue(Number numberValue)
- Creates an abstract Number value. Note that this value cannot be used to set variables.
Use the specific methods
integerValue(Integer), shortValue(Short),
longValue(Long) and doubleValue(Double) instead.
untypedNullValue
public static TypedValue untypedNullValue()
untypedValue
public static TypedValue untypedValue(Object value)
Copyright © 2015 camunda services GmbH. All rights reserved.