Interface RealizationInput


public interface RealizationInput

An aggregate of the current state of pipeline realization to simplify the Step.realize(RealizationInput) method.

  • Method Details

    • getExecutionContext

      default ExecutionContext 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

      Map<String,List<?>> 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 Step implementation doing the realizing should be adding new RealizedSteps to this pipeline.

    • getBindingContext

      default BindingContext getBindingContext()
      Returns:
      the context in which binding occurs, linked to the execution context
    • getRealizationContext

      default RealizationContext getRealizationContext()
      Returns:
      the context in which realization occurs, linked to the execution context
    • newPrototypeStep

      default RealizedStep newPrototypeStep()
      Returns:
      an incomplete RealizedStep that is suitable to be modified and returned by a 'simple' Step implementation.