public class ScenarioContext extends ScriptEnvBuffer
engineScope, errorWriter, globalScope, reader, writerENGINE_SCOPE, GLOBAL_SCOPE| Constructor and Description |
|---|
ScenarioContext(ScenarioController sc) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name) |
Object |
getAttribute(String name,
int scope) |
void |
setAttribute(String name,
Object value,
int scope) |
getErrorWriter, getReader, getStderrText, getStdinText, getStdoutText, getTimedLog, getTimeLogLines, getWritergetAttributesScope, getBindings, getScopes, removeAttribute, setBindings, setErrorWriter, setReader, setWriterpublic ScenarioContext(ScenarioController sc)
public Object getAttribute(String name)
getAttribute in interface ScriptContextgetAttribute in class SimpleScriptContextpublic Object getAttribute(String name, int scope)
getAttribute in interface ScriptContextgetAttribute in class SimpleScriptContextpublic void setAttribute(String name, Object value, int scope)
setAttribute in interface ScriptContextsetAttribute in class SimpleScriptContextCopyright © 2017. All rights reserved.