Class ParameterizedPipelineModelFramework

java.lang.Object
nz.org.riskscape.engine.pipeline.BaseModelFramework
nz.org.riskscape.engine.pipeline.ParameterizedPipelineModelFramework
All Implemented Interfaces:
nz.org.riskscape.engine.Identified, nz.org.riskscape.engine.model.ModelFramework

public class ParameterizedPipelineModelFramework extends BaseModelFramework

Takes pipelines in plain-text DSL form and slots them into the model framework, so that they can be run the same way as any other model.

  • Constructor Details

    • ParameterizedPipelineModelFramework

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

    • getId

      public String getId()
    • build

      public nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.model.Model> build(nz.org.riskscape.engine.Project project, nz.org.riskscape.engine.bind.BoundParameters buildWith)
    • shouldWarnOnUnusedParameters

      protected boolean shouldWarnOnUnusedParameters()
      Description copied from class: BaseModelFramework

      If true (the default) an extraneous parameter in the bound set of model parameters will add a warning to the Model that is built. If false, it's assumed the sub-class either wants them or will warn its own damn self.

      Overrides:
      shouldWarnOnUnusedParameters in class BaseModelFramework
    • getBuildParameterSet

      public nz.org.riskscape.engine.bind.JavaParameterSet<ParameterizedPipelineModelFramework.Params> getBuildParameterSet()