Class RelationInputStep

All Implemented Interfaces:
nz.org.riskscape.engine.Identified, nz.org.riskscape.engine.pipeline.Step

public class RelationInputStep extends BaseStep<RelationInputStep.Parameters>
  • Constructor Details

    • RelationInputStep

      public RelationInputStep(nz.org.riskscape.engine.Engine engine)
  • Method Details

    • canned

      public static nz.org.riskscape.engine.pipeline.Step canned(nz.org.riskscape.engine.relation.Relation relation)
    • realized

      public static nz.org.riskscape.engine.pipeline.RealizedStep realized(nz.org.riskscape.engine.relation.Relation relation)
    • realized

      public static nz.org.riskscape.engine.pipeline.RealizedStep realized(nz.org.riskscape.engine.relation.Relation relation, String nestName)
    • realize

      public nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.pipeline.Realized> realize(RelationInputStep.Parameters parameters)
      Specified by:
      realize in class BaseStep<RelationInputStep.Parameters>
    • realizeThrowing

      public nz.org.riskscape.engine.pipeline.Realized realizeThrowing(RelationInputStep.Parameters parameters, List<nz.org.riskscape.problem.Problem> warnings) throws nz.org.riskscape.problem.ProblemException
      Throws:
      nz.org.riskscape.problem.ProblemException
    • getId

      public String getId()
      Specified by:
      getId in interface nz.org.riskscape.engine.Identified
      Overrides:
      getId in class BaseStep<RelationInputStep.Parameters>
    • setInput

      public static void setInput(nz.org.riskscape.engine.relation.Relation relation, String stepName, Map<String,List<?>> pipelineParameters)

      Set a parameter for a step of this type to be a particular relation. This is a sort of safe/convenient way of pickling parameters in the case of something like nested pipelines where the input needs to be passed programmatically.