Class ScopeContext



  • public class ScopeContext
    extends java.lang.Object

    A structure that contains the name of the scope and the scope itself exposed as a Map<String, Object>.

    Since:
    2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeContext​(java.lang.String scopeName, java.util.Map<java.lang.String,java.lang.Object> scope)
      Construct this structure with the supplied arguments.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,java.lang.Object> getScope​()
      Return the scope itself, exposed as a Map.
      java.lang.String getScopeName​()
      Return the name of this custom scope.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScopeContext

        public ScopeContext​(java.lang.String scopeName,
                            java.util.Map<java.lang.String,java.lang.Object> scope)

        Construct this structure with the supplied arguments.

        Parameters:
        scopeName - the name of the scope
        scope - the scope itself
    • Method Detail

      • getScopeName

        public java.lang.String getScopeName​()

        Return the name of this custom scope.

        Returns:
        Return the name of this custom scope.
      • getScope

        public java.util.Map<java.lang.String,java.lang.Object> getScope​()

        Return the scope itself, exposed as a Map.

        Returns:
        Return the scope itself, exposed as a Map