Package nz.org.riskscape.engine.model
Interface PostProcessingScript
public interface PostProcessingScript
A script that runs after a model's pipeline completes. Produced by a PostProcessingScriptRunner.
-
Method Summary
Modifier and TypeMethodDescriptionThe runner that created this script.Filesystem or remote location of the script.voidrunAfter(PipelineJobContext context) Invokes the script with the given job context, which is used to derive metadata about the completed model run.validate()Validates the script can be run.
-
Method Details
-
getRunner
PostProcessingScriptRunner getRunner()The runner that created this script. -
getScriptLocation
URI getScriptLocation()Filesystem or remote location of the script. -
validate
Problems validate()Validates the script can be run.
-
runAfter
Invokes the script with the given job context, which is used to derive metadata about the completed model run. Any errors should be reported to
PipelineJobContext.getProblemSink()rather than thrown.
-