public class VariableUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
VariableUtil.SetVariableFunction |
| Modifier and Type | Field and Description |
|---|---|
static CommandLogger |
CMD_LOGGER |
static CoreLogger |
CORE_LOGGER |
static String |
ERROR_MSG |
| Constructor and Description |
|---|
VariableUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkJavaSerialization(String variableName,
TypedValue value) |
static Map<String,?> |
findBatchVariablesSerialized(String batchId,
CommandContext commandContext) |
protected static TypedValue |
getSerializedValue(VariableInstanceEntity variableInstanceEntity) |
static boolean |
isJavaSerializationProhibited(TypedValue value)
Checks, if Java serialization will be used and if it is allowed to be used.
|
static void |
setVariableByBatchId(String batchId,
String variableName,
Object variableValue) |
static void |
setVariables(Map<String,?> variables,
VariableUtil.SetVariableFunction setVariableFunction) |
static void |
setVariablesByBatchId(Map<String,?> variables,
String batchId) |
protected static java.util.stream.Collector<VariableInstanceEntity,?,Map<String,TypedValue>> |
variablesCollector() |
public static final CommandLogger CMD_LOGGER
public static final CoreLogger CORE_LOGGER
public static final String ERROR_MSG
public static boolean isJavaSerializationProhibited(TypedValue value)
value - public static void checkJavaSerialization(String variableName, TypedValue value)
public static void setVariables(Map<String,?> variables, VariableUtil.SetVariableFunction setVariableFunction)
public static void setVariablesByBatchId(Map<String,?> variables, String batchId)
public static void setVariableByBatchId(String batchId, String variableName, Object variableValue)
public static Map<String,?> findBatchVariablesSerialized(String batchId, CommandContext commandContext)
protected static java.util.stream.Collector<VariableInstanceEntity,?,Map<String,TypedValue>> variablesCollector()
protected static TypedValue getSerializedValue(VariableInstanceEntity variableInstanceEntity)
Copyright © 2013–2021 camunda services GmbH. All rights reserved.