public class PipelineSpecificationWithVersions extends java.lang.Object implements IPipelineSpecificationWithVersions
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
componentIDHash |
protected IPipelineSpecification |
pipelineSpecification |
protected QueuedDocument |
queuedDocument |
_rcsid| Constructor and Description |
|---|
PipelineSpecificationWithVersions(IPipelineSpecification pipelineSpecification,
QueuedDocument queuedDocument,
java.lang.String componentIDHash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkStageOutputConnection(int stage)
Check if a stage is an output stage.
|
java.lang.String |
getAuthorityNameString(int index)
For a given output index, return an authority name string.
|
java.lang.Integer |
getOutputConnectionIndex(int stage)
Get the index of the output connection corresponding to a
specific pipeline stage.
|
java.lang.String[] |
getOutputConnectionNames()
Get the output connection names mentioned by the IPipelineSpecification
object.
|
IOutputConnection[] |
getOutputConnections()
Get the output connection instances mentioned by the IPipelineSpecification
object.
|
int |
getOutputCount()
Return the number of output connections.
|
java.lang.String |
getOutputDocumentVersionString(int index)
For a given output index, return a document version string.
|
int |
getOutputStage(int index)
Given an output index, return the stage number for that output.
|
java.lang.String |
getOutputTransformationVersionString(int index)
For a given output index, return a transformation version string.
|
java.lang.String |
getOutputVersionString(int index)
For a given output index, return an output version string.
|
int[] |
getStageChildren(int stage)
Find children of a given pipeline stage.
|
java.lang.String |
getStageConnectionName(int stage)
Get the connection name for a pipeline stage.
|
int |
getStageCount()
Get a count of all stages.
|
VersionContext |
getStageDescriptionString(int stage)
Get the description string for a pipeline stage.
|
int |
getStageParent(int stage)
Find parent of a given pipeline stage.
|
protected DocumentIngestStatus |
getStatus(int index) |
java.lang.Integer |
getTransformationConnectionIndex(int stage)
Get the index of the transformation connection corresponding to a
specific pipeline stage.
|
java.lang.String[] |
getTransformationConnectionNames()
Get the transformation connection names mentioned by the IPipelineSpecification
object.
|
ITransformationConnection[] |
getTransformationConnections()
Get the transformation connection instances mentioned by the IPipelineSpecification
object.
|
protected final IPipelineSpecification pipelineSpecification
protected final QueuedDocument queuedDocument
protected final java.lang.String componentIDHash
public PipelineSpecificationWithVersions(IPipelineSpecification pipelineSpecification, QueuedDocument queuedDocument, java.lang.String componentIDHash)
protected DocumentIngestStatus getStatus(int index)
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 java.lang.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.public java.lang.String[] getTransformationConnectionNames()
getTransformationConnectionNames in interface IPipelineConnectionspublic ITransformationConnection[] getTransformationConnections()
getTransformationConnections in interface IPipelineConnectionspublic java.lang.String[] getOutputConnectionNames()
getOutputConnectionNames in interface IPipelineConnectionspublic IOutputConnection[] getOutputConnections()
getOutputConnections in interface IPipelineConnectionspublic java.lang.Integer getTransformationConnectionIndex(int stage)
getTransformationConnectionIndex in interface IPipelineConnectionspublic java.lang.Integer getOutputConnectionIndex(int stage)
getOutputConnectionIndex in interface IPipelineConnectionspublic VersionContext getStageDescriptionString(int stage)
getStageDescriptionString in interface IPipelineSpecificationstage - is the stage to get the connection name for.public java.lang.String getOutputDocumentVersionString(int index)
getOutputDocumentVersionString in interface IPipelineSpecificationWithVersionsindex - is the output index.public java.lang.String getOutputTransformationVersionString(int index)
getOutputTransformationVersionString in interface IPipelineSpecificationWithVersionsindex - is the output index.public java.lang.String getOutputVersionString(int index)
getOutputVersionString in interface IPipelineSpecificationWithVersionsindex - is the output index.public java.lang.String getAuthorityNameString(int index)
getAuthorityNameString in interface IPipelineSpecificationWithVersionsindex - is the output index.