public class PipelineSpecificationBasic extends Object implements IPipelineSpecificationBasic
| Modifier and Type | Field and Description |
|---|---|
protected IJobDescription |
job |
protected int[] |
outputs |
protected int[][] |
pipelineStageChildren |
_rcsid| Constructor and Description |
|---|
PipelineSpecificationBasic(IJobDescription job) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkStageOutputConnection(int stage)
Check if a stage is an output stage.
|
int |
getOutputCount()
Return the number of output connections.
|
int |
getOutputStage(int index)
Given an output index, return the stage number for that output.
|
int[] |
getStageChildren(int stage)
Find children of a given pipeline stage.
|
String |
getStageConnectionName(int stage)
Get the connection name for a pipeline stage.
|
int |
getStageCount()
Get a count of all stages.
|
int |
getStageParent(int stage)
Find parent of a given pipeline stage.
|
protected final IJobDescription job
protected final int[][] pipelineStageChildren
protected final int[] outputs
public PipelineSpecificationBasic(IJobDescription job)
public int getStageCount()
getStageCount in interface IPipelineSpecificationBasicpublic int[] getStageChildren(int stage)
getStageChildren in interface IPipelineSpecificationBasicstage - is the stage index to get the children of.public int getStageParent(int stage)
getStageParent in interface IPipelineSpecificationBasicstage - is the stage index to get the parent of.public String getStageConnectionName(int stage)
getStageConnectionName in interface IPipelineSpecificationBasicstage - is the stage to get the connection name for.public boolean checkStageOutputConnection(int stage)
checkStageOutputConnection in interface IPipelineSpecificationBasicstage - is the stage to check.public int getOutputCount()
getOutputCount in interface IPipelineSpecificationBasicpublic int getOutputStage(int index)
getOutputStage in interface IPipelineSpecificationBasicindex - is the output connection index.