Class ScenarioContext

  • All Implemented Interfaces:
    javax.script.ScriptContext

    public class ScenarioContext
    extends io.engineblock.scripting.ScriptEnvBuffer
    • Field Summary

      • Fields inherited from class javax.script.SimpleScriptContext

        engineScope, errorWriter, globalScope, reader, writer
      • Fields inherited from interface javax.script.ScriptContext

        ENGINE_SCOPE, GLOBAL_SCOPE
    • Method Summary

      Modifier and Type Method Description
      java.lang.Object getAttribute​(java.lang.String name)  
      java.lang.Object getAttribute​(java.lang.String name, int scope)  
      void setAttribute​(java.lang.String name, java.lang.Object value, int scope)  
      • Methods inherited from class io.engineblock.scripting.ScriptEnvBuffer

        getErrorWriter, getReader, getStderrText, getStdinText, getStdoutText, getTimedLog, getTimeLogLines, getWriter
      • Methods inherited from class javax.script.SimpleScriptContext

        getAttributesScope, getBindings, getScopes, removeAttribute, setBindings, setErrorWriter, setReader, setWriter
      • Methods inherited from class java.lang.Object

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

      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String name)
        Specified by:
        getAttribute in interface javax.script.ScriptContext
        Overrides:
        getAttribute in class javax.script.SimpleScriptContext
      • getAttribute

        public java.lang.Object getAttribute​(java.lang.String name,
                                             int scope)
        Specified by:
        getAttribute in interface javax.script.ScriptContext
        Overrides:
        getAttribute in class javax.script.SimpleScriptContext
      • setAttribute

        public void setAttribute​(java.lang.String name,
                                 java.lang.Object value,
                                 int scope)
        Specified by:
        setAttribute in interface javax.script.ScriptContext
        Overrides:
        setAttribute in class javax.script.SimpleScriptContext