Class EventStationScript
java.lang.Object
edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
edu.sc.seis.sod.subsetter.eventStation.EventStationScript
- All Implemented Interfaces:
SodElement
,EventStationSubsetter
,Subsetter
public class EventStationScript extends AbstractScriptSubsetter implements EventStationSubsetter
-
Field Summary
Fields inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
config, engine, factory, script, scriptType
-
Constructor Summary
Constructors Constructor Description EventStationScript(org.w3c.dom.Element config)
-
Method Summary
Modifier and Type Method Description StringTree
accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Station station, MeasurementStorage cookieJar)
StringTree
runScript(VelocityEvent event, VelocityStation station, MeasurementStorage cookieJar)
Run the script with the arguments as predefined variables.Methods inherited from class edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
cleanScript, eval, formatForJythonSysPath, preeval, pullResult
-
Constructor Details
-
EventStationScript
public EventStationScript(org.w3c.dom.Element config)
-
-
Method Details
-
accept
public StringTree accept(edu.sc.seis.sod.model.event.CacheEvent event, edu.sc.seis.seisFile.fdsnws.stationxml.Station station, MeasurementStorage cookieJar) throws java.lang.Exception- Specified by:
accept
in interfaceEventStationSubsetter
- Throws:
java.lang.Exception
-
runScript
public StringTree runScript(VelocityEvent event, VelocityStation station, MeasurementStorage cookieJar) throws java.lang.ExceptionRun the script with the arguments as predefined variables.- Throws:
java.lang.Exception
-