public class OriginScript extends AbstractScriptSubsetter implements OriginSubsetter
config, engine, factory, script, scriptType| Constructor and Description |
|---|
OriginScript(org.w3c.dom.Element config) |
| Modifier and Type | Method and Description |
|---|---|
StringTree |
accept(CacheEvent eventAccess,
EventAttrImpl eventAttr,
OriginImpl preferredOrigin) |
StringTree |
runScript(VelocityEvent event,
EventAttrImpl eventAttr,
OriginImpl preferredOrigin)
Run the script with the arguments as predefined variables.
|
cleanScript, eval, preeval, pullResultpublic StringTree accept(CacheEvent eventAccess, EventAttrImpl eventAttr, OriginImpl preferredOrigin) throws java.lang.Exception
accept in interface OriginSubsetterjava.lang.Exceptionpublic StringTree runScript(VelocityEvent event, EventAttrImpl eventAttr, OriginImpl preferredOrigin) throws java.lang.Exception
java.lang.Exception