Class VariableUtil


  • public class VariableUtil
    extends java.lang.Object
    • Constructor Detail

      • VariableUtil

        public VariableUtil()
    • Method Detail

      • isJavaSerializationProhibited

        public static boolean isJavaSerializationProhibited​(TypedValue value)
        Checks, if Java serialization will be used and if it is allowed to be used.
        Parameters:
        value -
      • checkJavaSerialization

        public static void checkJavaSerialization​(java.lang.String variableName,
                                                  TypedValue value)
      • setVariablesByBatchId

        public static void setVariablesByBatchId​(java.util.Map<java.lang.String,​?> variables,
                                                 java.lang.String batchId)
      • setVariableByBatchId

        public static void setVariableByBatchId​(java.lang.String batchId,
                                                java.lang.String variableName,
                                                java.lang.Object variableValue)
      • findBatchVariablesSerialized

        public static java.util.Map<java.lang.String,​?> findBatchVariablesSerialized​(java.lang.String batchId,
                                                                                           CommandContext commandContext)
      • variablesCollector

        protected static java.util.stream.Collector<VariableInstanceEntity,​?,​java.util.Map<java.lang.String,​TypedValue>> variablesCollector()