Package nz.org.riskscape.engine.output
Interface PipelineJobContext
public interface PipelineJobContext
Bits and pieces that are all relevant to the execution of a specific pipeline (aka A job) as it is being executed (or prepared for execution) as per the users wishes.
Note that an ExecutionContext existed before this interface, and given the chance their names might be
different to better reflect their purpose.
-
Method Summary
Modifier and TypeMethodDescriptiondefault BindingContextdefault Enginedefault ExecutionContextTheExecutionContextthat was used to create this job.A storage location associated with this pipeline job.The actual pipeline being executeddefault ProblemSinkA place to sendProblems related to this jobcom.codahale.metrics.MetricRegistryHigh level metrics that can give the user an indication of how far through execution the job isdefault Projectdefault RealizationContextdefault Path
-
Method Details
-
getOutputContainer
PipelineOutputContainer getOutputContainer()A storage location associated with this pipeline job. The various pipeline outputs will get stored here.
-
getPipeline
RealizedPipeline getPipeline()The actual pipeline being executed
-
getProgressMetrics
com.codahale.metrics.MetricRegistry getProgressMetrics()High level metrics that can give the user an indication of how far through execution the job is
-
getExecutionContext
The
ExecutionContextthat was used to create this job. -
getRealizationContext
- Returns:
- the
RealizationContextthat is bound to this job
-
getBindingContext
- Returns:
- the
BindingContextthat is bound to this job
-
getProject
- Returns:
- the
Projectthis job was built for
-
getEngine
- Returns:
- the
Engineinstance that the project belongs to
-
getProblemSink
A place to send
Problems related to this job -
getTempDirectory
- Returns:
- A temporary directory linked to this job
-