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, pullResult
public StringTree accept(CacheEvent eventAccess, EventAttrImpl eventAttr, OriginImpl preferredOrigin) throws java.lang.Exception
accept
in interface OriginSubsetter
java.lang.Exception
public StringTree runScript(VelocityEvent event, EventAttrImpl eventAttr, OriginImpl preferredOrigin) throws java.lang.Exception
java.lang.Exception