public class StationScript extends AbstractScriptSubsetter implements StationSubsetter
config, engine, factory, script, scriptType
Constructor and Description |
---|
StationScript(org.w3c.dom.Element config) |
Modifier and Type | Method and Description |
---|---|
StringTree |
accept(StationImpl station,
NetworkSource network) |
StringTree |
runScript(VelocityStation station,
VelocityNetworkSource networkSource)
Run the script with the arguments as predefined variables.
|
cleanScript, eval, preeval, pullResult
public StringTree accept(StationImpl station, NetworkSource network) throws java.lang.Exception
accept
in interface StationSubsetter
java.lang.Exception
public StringTree runScript(VelocityStation station, VelocityNetworkSource networkSource) throws java.lang.Exception
java.lang.Exception