org.camunda.bpm.engine.variable
Class Variables

java.lang.Object
  extended by 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

Nested Class Summary
static class Variables.SerializationDataFormats
          A set of builtin serialization dataformat constants.
 
Constructor Summary
Variables()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Variables

public Variables()
Method Detail

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.