public class GroovyScript extends AbstractScript
| Modifier and Type | Class and Description |
|---|---|
static class |
GroovyScript.DescriptorImpl |
| Constructor and Description |
|---|
GroovyScript(String script,
String fallbackScript) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
eval()
Evaluates the script.
|
Object |
eval(Map<String,String> parameters)
Evaluates the script using the given parameters binding parameters.
|
String |
getFallbackScript() |
String |
getScript() |
int |
hashCode() |
String |
toString() |
all, getDescriptorpublic String getScript()
public String getFallbackScript()
public Object eval()
Scriptpublic Object eval(Map<String,String> parameters) throws RuntimeException
Scriptparameters - binding parametersRuntimeExceptionCopyright © 2004-2015. All Rights Reserved.