Class Subpipeline

java.lang.Object
nz.org.riskscape.engine.pipeline.Subpipeline

public class Subpipeline extends Object
  • Constructor Details

    • Subpipeline

      public Subpipeline(PipelineDeclaration subpipeline)
    • Subpipeline

      public Subpipeline(URI location, PipelineDeclaration ast, List<PipelineParameter> parameters)

      Creates a new Subpipeline instance.

      Parameters:
      location - Where this sub-pipeline was defined (might not be the ast's location, e.g. ini file)
      ast - The PipelineDeclaration (AST) of the subpipeline.
      parameters - Parameters defined for this subpipeline
  • Method Details

    • getParameterMap

      public Map<String,Expression> getParameterMap()
      Returns:
      a map of the parameters that have default values set.
    • getParameters

      public List<PipelineParameter> getParameters()
      Returns:
      a list of all the parameters associated with this subpipeline.
    • getLocation

      public URI getLocation()

      Where this sub-pipeline was defined (might not be the ast's location, e.g. ini file)

    • getAst

      public PipelineDeclaration getAst()

      The PipelineDeclaration (AST) of the subpipeline.