Class EventChannelScript
java.lang.Object
edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
edu.sc.seis.sod.subsetter.eventChannel.EventChannelScript
- All Implemented Interfaces:
SodElement
,EventChannelSubsetter
,Subsetter
-
Field Summary
Fields inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
config, engine, factory, script, scriptType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept
(edu.sc.seis.fissuresUtil.cache.CacheEvent event, edu.iris.Fissures.network.ChannelImpl channel, CookieJar cookieJar) runScript
(VelocityEvent event, VelocityChannel channel, CookieJar cookieJar) Run the script with the arguments as predefined variables.Methods inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
cleanScript, eval, preeval, pullResult
-
Constructor Details
-
EventChannelScript
-
-
Method Details
-
accept
public StringTree accept(edu.sc.seis.fissuresUtil.cache.CacheEvent event, edu.iris.Fissures.network.ChannelImpl channel, CookieJar cookieJar) throws Exception - Specified by:
accept
in interfaceEventChannelSubsetter
- Throws:
Exception
-
runScript
public StringTree runScript(VelocityEvent event, VelocityChannel channel, CookieJar cookieJar) throws Exception Run the script with the arguments as predefined variables.- Throws:
Exception
-