Interface VariableMap

  • All Superinterfaces:
    java.util.Map<java.lang.String,​java.lang.Object>
    All Known Implementing Classes:
    ProcessVariableLocalMap, ProcessVariableMap, VariableMapImpl

    public interface VariableMap
    extends java.util.Map<java.lang.String,​java.lang.Object>
    A Map of variables.
    Author:
    Daniel Meyer
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      VariableContext asVariableContext()
      Interprets the variable map as variable context
      <T> T getValue​(java.lang.String name, java.lang.Class<T> type)  
      <T extends TypedValue>
      T
      getValueTyped​(java.lang.String name)  
      VariableMap putValue​(java.lang.String name, java.lang.Object value)  
      VariableMap putValueTyped​(java.lang.String name, TypedValue value)  
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
    • Method Detail

      • putValue

        VariableMap putValue​(java.lang.String name,
                             java.lang.Object value)
      • getValue

        <T> T getValue​(java.lang.String name,
                       java.lang.Class<T> type)
      • getValueTyped

        <T extends TypedValue> T getValueTyped​(java.lang.String name)
      • asVariableContext

        VariableContext asVariableContext()
        Interprets the variable map as variable context
        Returns:
        A VariableContext which is capable of resolving all variables in the map