public class SeismogramScript extends AbstractScriptSubsetter implements WaveformProcess
config, engine, factory, script, scriptType| Constructor and Description |
|---|
SeismogramScript(org.w3c.dom.Element config) |
| Modifier and Type | Method and Description |
|---|---|
WaveformResult |
accept(CacheEvent event,
ChannelImpl channel,
RequestFilter[] original,
RequestFilter[] available,
LocalSeismogramImpl[] seismograms,
CookieJar cookieJar)
Processes localSeismograms, possibly modifying them.
|
WaveformResult |
runScript(VelocityEvent event,
VelocityChannel channel,
java.util.List<VelocityRequest> request,
java.util.List<VelocityRequest> available,
java.util.List<VelocitySeismogram> seismograms,
CookieJar cookieJar)
Run the script with the arguments as predefined variables.
|
cleanScript, eval, preeval, pullResultpublic WaveformResult accept(CacheEvent event, ChannelImpl channel, RequestFilter[] original, RequestFilter[] available, LocalSeismogramImpl[] seismograms, CookieJar cookieJar) throws java.lang.Exception
WaveformProcessaccept in interface WaveformProcessjava.lang.Exceptionpublic WaveformResult runScript(VelocityEvent event, VelocityChannel channel, java.util.List<VelocityRequest> request, java.util.List<VelocityRequest> available, java.util.List<VelocitySeismogram> seismograms, CookieJar cookieJar) throws java.lang.Exception
java.lang.Exception