Package org.apache.uima.flow.impl
Class AnalysisSequenceCapabilityNode
java.lang.Object
org.apache.uima.flow.impl.AnalysisSequenceCapabilityNode
- All Implemented Interfaces:
Cloneable
A
AnalysisSequenceCapabilityNode
is a node element of the
CapabilityLanguageFlowObject
. A AnalysisSequenceCapabilityNode
has a
AnalysisEngine
, a ResultSpecification
which should be processed from
the AnalysisEngine
. Also a AnalysisSequenceCapabilityNode
has a
ResultSpecification
which inculdes the capabilities of the AnalysisEngine
.-
Constructor Summary
ConstructorDescriptionAnalysisSequenceCapabilityNode
(String aKey, CasObjectProcessor aCasProcessor, ResultSpecification aResultSpec) Creates a new AnalysisSequenceCapabilityNode from an AnalysisEngine referenceAnalysisSequenceCapabilityNode
(String aCasProcessorKey, Capability[] aCasProcessorCapabilities, ResultSpecification aResultSpec) Creates a new AnalysisSequenceCapabilityNode from a AnalysisEngine Key. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns a clone of thisAnalysisSequenceNode
.Returns the capabilityContainer reference.void
setResultSpec
(ResultSpecification aResultSpec) Sets this node's Result Specificatoin.
-
Constructor Details
-
AnalysisSequenceCapabilityNode
public AnalysisSequenceCapabilityNode(String aKey, CasObjectProcessor aCasProcessor, ResultSpecification aResultSpec) Creates a new AnalysisSequenceCapabilityNode from an AnalysisEngine reference- Parameters:
aKey
- key for AnalysisEngine to be executed at this point in sequenceaCasProcessor
- reference to the AnalysisEngine instanceaResultSpec
- result specification to be passed to this AnalysisEngine
-
AnalysisSequenceCapabilityNode
public AnalysisSequenceCapabilityNode(String aCasProcessorKey, Capability[] aCasProcessorCapabilities, ResultSpecification aResultSpec) Creates a new AnalysisSequenceCapabilityNode from a AnalysisEngine Key. This is to be used when a direct reference to a AnalysisEngine is not available.- Parameters:
aCasProcessorKey
- Key of a AnalysisEngineaCasProcessorCapabilities
- Capabilities for this AnalysisEngineaResultSpec
- result specification to be passed to this AnalysisEngine
-
-
Method Details
-
getCasProcessorKey
-
getCasProcessor
-
getResultSpec
-
setResultSpec
Sets this node's Result Specificatoin.- Parameters:
aResultSpec
- -
-
clone
Returns a clone of thisAnalysisSequenceNode
. -
getCapabilityContainer
Returns the capabilityContainer reference.- Returns:
- CapabilityContainer - returns the reference to the capability container
-