Class EventVectorScript
- java.lang.Object
-
- edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
-
- edu.sc.seis.sod.subsetter.eventChannel.vector.EventVectorScript
-
- All Implemented Interfaces:
SodElement
,EventVectorSubsetter
,Subsetter
public class EventVectorScript extends AbstractScriptSubsetter implements EventVectorSubsetter
-
-
Field Summary
-
Fields inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
config, engine, factory, script, scriptType
-
-
Constructor Summary
Constructors Constructor Description EventVectorScript(org.w3c.dom.Element config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringTree
accept(edu.sc.seis.fissuresUtil.cache.CacheEvent event, edu.sc.seis.fissuresUtil.hibernate.ChannelGroup channelGroup, CookieJar cookieJar)
StringTree
runScript(VelocityEvent event, VelocityChannelGroup channelGroup, 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
-
-
-
-
Method Detail
-
accept
public StringTree accept(edu.sc.seis.fissuresUtil.cache.CacheEvent event, edu.sc.seis.fissuresUtil.hibernate.ChannelGroup channelGroup, CookieJar cookieJar) throws java.lang.Exception
- Specified by:
accept
in interfaceEventVectorSubsetter
- Throws:
java.lang.Exception
-
runScript
public StringTree runScript(VelocityEvent event, VelocityChannelGroup channelGroup, CookieJar cookieJar) throws java.lang.Exception
Run the script with the arguments as predefined variables.- Throws:
java.lang.Exception
-
-