| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
globalVariables |
protected groovy.util.GroovyScriptEngine |
scriptEngine |
protected String |
scriptName |
| Constructor and Description |
|---|
GroovyScript(groovy.util.GroovyScriptEngine scriptEngine,
String scriptName,
Map<String,Object> globalVariables) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(Map<String,Object> variables) |
addDependencyKey, addDependencyKeys, getCachingTime, getDependencyKeys, getKey, getScope, removeDependencyKey, removeDependencyKeys, setCachingTime, setDependencyKeys, setKey, setScopeprotected groovy.util.GroovyScriptEngine scriptEngine
protected String scriptName
public Object execute(Map<String,Object> variables) throws ScriptException
execute in interface ScriptScriptExceptionCopyright © 2014 CrafterCMS. All Rights Reserved.