Class ChannelScript
java.lang.Object
edu.sc.seis.sod.subsetter.AbstractScriptSubsetter
edu.sc.seis.sod.subsetter.channel.ChannelScript
- All Implemented Interfaces:
SodElement
,ChannelSubsetter
,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.iris.Fissures.network.ChannelImpl channel, NetworkSource network) runScript
(VelocityChannel channel, VelocityNetworkSource networkSource) 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
-
ChannelScript
-
-
Method Details
-
accept
public StringTree accept(edu.iris.Fissures.network.ChannelImpl channel, NetworkSource network) throws Exception - Specified by:
accept
in interfaceChannelSubsetter
- Throws:
Exception
-
runScript
public StringTree runScript(VelocityChannel channel, VelocityNetworkSource networkSource) throws Exception Run the script with the arguments as predefined variables.- Throws:
Exception
-