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
ClassNotFoundException
public 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
JMeterException
public Object evalNoLog(String s) throws JMeterException
JMeterException
public Object set(String s, Object o) throws JMeterException
JMeterException
public Object set(String s, boolean b) throws JMeterException
JMeterException
public Object source(String s) throws JMeterException
JMeterException
public Object get(String s) throws JMeterException
JMeterException
public static boolean isInterpreterPresent()
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.