Package nz.org.riskscape.engine.pipeline
Interface RealizationInput
public interface RealizationInput
An aggregate of the current state of pipeline realization to simplify the Step.realize(RealizationInput)
method.
-
Method Summary
Modifier and TypeMethodDescriptiondefault BindingContextdefault ExecutionContextgetName()A unique name (within the pipeline) assigned to the step being realized.default RealizationContextReturns the state of the pipeline "going in" to realization.default RealizedStep
-
Method Details
-
getExecutionContext
- Returns:
- the context in which any realized pipeline will eventually execute
-
getStepDefinition
StepDefinition getStepDefinition()- Returns:
- The part of the AST that is being realized.
-
getName
String getName()A unique name (within the pipeline) assigned to the step being realized. It is assumed that realizing will introduce at least a step with this name in to the pipeline.
-
getDependencies
List<RealizedStep> getDependencies()- Returns:
- the list of realized steps that this step depends on, i.e. they are chained to this step.
-
getParameters
- Returns:
- parameters already bound to this step via the ast
-
getRealizedPipeline
RealizedPipeline getRealizedPipeline()Returns the state of the pipeline "going in" to realization. The
Stepimplementation doing the realizing should be adding newRealizedSteps to this pipeline. -
getBindingContext
- Returns:
- the context in which binding occurs, linked to the execution context
-
getRealizationContext
- Returns:
- the context in which realization occurs, linked to the execution context
-
newPrototypeStep
- Returns:
- an incomplete RealizedStep that is suitable to be modified and returned by a 'simple' Step implementation.
-