Interface DMNContext

  • All Superinterfaces:
    java.lang.Cloneable

    public interface DMNContext
    extends java.lang.Cloneable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      DMNContext clone()  
      java.lang.Object get​(java.lang.String name)  
      java.util.Map<java.lang.String,​java.lang.Object> getAll()  
      DMNMetadata getMetadata()  
      boolean isDefined​(java.lang.String name)  
      void popScope()
      The current scope is pop-ed from the current scope stack.
      void pushScope​(java.lang.String name, java.lang.String namespace)
      Walks inside the current scope for the identifier `name`, using the supplied `namespace`, and push that as the new current scope.
      java.util.Optional<java.lang.String> scopeNamespace()
      Returns the current namespace currently at the top of the scope stack, empty if the stack is empty.
      java.lang.Object set​(java.lang.String name, java.lang.Object value)  
    • Method Detail

      • set

        java.lang.Object set​(java.lang.String name,
                             java.lang.Object value)
      • get

        java.lang.Object get​(java.lang.String name)
      • getAll

        java.util.Map<java.lang.String,​java.lang.Object> getAll()
      • isDefined

        boolean isDefined​(java.lang.String name)
      • pushScope

        void pushScope​(java.lang.String name,
                       java.lang.String namespace)
        Walks inside the current scope for the identifier `name`, using the supplied `namespace`, and push that as the new current scope.
        Parameters:
        name -
      • popScope

        void popScope()
        The current scope is pop-ed from the current scope stack.
      • scopeNamespace

        java.util.Optional<java.lang.String> scopeNamespace()
        Returns the current namespace currently at the top of the scope stack, empty if the stack is empty.