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 IPipelineSpecificationBasic
public int[] getStageChildren(int stage)
getStageChildren
in interface IPipelineSpecificationBasic
stage
- is the stage index to get the children of.public int getStageParent(int stage)
getStageParent
in interface IPipelineSpecificationBasic
stage
- is the stage index to get the parent of.public String getStageConnectionName(int stage)
getStageConnectionName
in interface IPipelineSpecificationBasic
stage
- is the stage to get the connection name for.public boolean checkStageOutputConnection(int stage)
checkStageOutputConnection
in interface IPipelineSpecificationBasic
stage
- is the stage to check.public int getOutputCount()
getOutputCount
in interface IPipelineSpecificationBasic
public int getOutputStage(int index)
getOutputStage
in interface IPipelineSpecificationBasic
index
- is the output connection index.