Class Subpipeline
-
Constructor Summary
ConstructorsConstructorDescriptionSubpipeline(URI location, PipelineDeclaration ast, Map<String, Expression> parameters) Creates a newSubpipelineinstance.Subpipeline(PipelineDeclaration subpipeline) -
Method Summary
Modifier and TypeMethodDescriptiongetAst()ThePipelineDeclaration(AST) of the subpipeline.Where this sub-pipeline was defined (might not be the ast's location, e.g.Default parameter values defined for the subpipeline, to be used as a "back up" if the model or user doesn't otherwise define them.
-
Constructor Details
-
Subpipeline
-
Subpipeline
Creates a new
Subpipelineinstance.- Parameters:
location- Where this sub-pipeline was defined (might not be the ast's location, e.g. ini file)ast- ThePipelineDeclaration(AST) of the subpipeline.parameters- Default parameter values defined for the subpipeline, to be used as a "back up" if the model or user doesn't otherwise define them.Implementation note: At the moment, it makes sense for this to just be a set of Expressions, but if we add support for things like param.foo.description, then we might want to make changes to the set of parameter classes ( ModelParameter, PipelineModelParameter, ParameterTemplate etc) to be API, maybe break the connection to Parameter (not sure this really matters any more?) and make them expression-first, rather than java-type first)
-
-
Method Details
-
getLocation
Where this sub-pipeline was defined (might not be the ast's location, e.g. ini file)
-
getAst
The
PipelineDeclaration(AST) of the subpipeline. -
getParameters
Default parameter values defined for the subpipeline, to be used as a "back up" if the model or user doesn't otherwise define them.
Implementation note: At the moment, it makes sense for this to just be a set of Expressions, but if we add support for things like param.foo.description, then we might want to make changes to the set of parameter classes ( ModelParameter, PipelineModelParameter, ParameterTemplate etc) to be API, maybe break the connection to Parameter (not sure this really matters any more?) and make them expression-first, rather than java-type first)
-