Class VariableUtil
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.VariableUtil
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CommandLogger
static final CoreLogger
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkJavaSerialization
(String variableName, TypedValue value) findBatchVariablesSerialized
(String batchId, CommandContext commandContext) protected static TypedValue
getSerializedValue
(VariableInstanceEntity variableInstanceEntity) static boolean
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 Collector<VariableInstanceEntity,
?, Map<String, TypedValue>>
-
Field Details
-
CMD_LOGGER
-
CORE_LOGGER
-
ERROR_MSG
- See Also:
-
-
Constructor Details
-
VariableUtil
public VariableUtil()
-
-
Method Details
-
isJavaSerializationProhibited
Checks, if Java serialization will be used and if it is allowed to be used.- Parameters:
value
-
-
checkJavaSerialization
-
setVariables
public static void setVariables(Map<String, ?> variables, VariableUtil.SetVariableFunction setVariableFunction) -
setVariablesByBatchId
-
setVariableByBatchId
-
findBatchVariablesSerialized
public static Map<String,?> findBatchVariablesSerialized(String batchId, CommandContext commandContext) -
variablesCollector
-
getSerializedValue
-