public class VariableUtil extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
VariableUtil.SetVariableFunction |
Modifier and Type | Field and Description |
---|---|
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 |
setVariables(Map<String,?> variables,
VariableUtil.SetVariableFunction setVariableFunction) |
protected static java.util.stream.Collector<VariableInstanceEntity,?,Map<String,TypedValue>> |
variablesCollector() |
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 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 © 2022. All rights reserved.