public class BeanShellInterpreter extends Object
| Constructor and Description |
|---|
BeanShellInterpreter() |
BeanShellInterpreter(String init,
org.slf4j.Logger log) |
| Modifier and Type | Method and Description |
|---|---|
Object |
eval(String s) |
Object |
evalNoLog(String s) |
Object |
get(String s) |
static boolean |
isInterpreterPresent() |
void |
reset()
Resets the BeanShell interpreter.
|
Object |
set(String s,
boolean b) |
Object |
set(String s,
Object o) |
Object |
source(String s) |
public BeanShellInterpreter()
throws ClassNotFoundException
ClassNotFoundExceptionpublic BeanShellInterpreter(String init, org.slf4j.Logger log) throws ClassNotFoundException
init - initialisation filelog - logger to pass to interpreterClassNotFoundException - when beanshell can not be instantiatedpublic void reset()
throws ClassNotFoundException
ClassNotFoundException - if interpreter cannot be instantiatedpublic Object eval(String s) throws JMeterException
JMeterExceptionpublic Object evalNoLog(String s) throws JMeterException
JMeterExceptionpublic Object set(String s, Object o) throws JMeterException
JMeterExceptionpublic Object set(String s, boolean b) throws JMeterException
JMeterExceptionpublic Object source(String s) throws JMeterException
JMeterExceptionpublic Object get(String s) throws JMeterException
JMeterExceptionpublic static boolean isInterpreterPresent()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.