public interface CapabilityLanguageFlow extends FlowConstraints
CapabilityLanguageFlow is a simple type of FlowConstraints that
specifies the complete flow as a capabilityLanguage sequence.
Each element in the sequence is specified as a String identifier. In a
CapabilityLanguageFlow skipping of the included AnalysisEngines is possible if the
document language does not map to the capabilities or the output capability was already done by
another AnalysisEngine.
| Modifier and Type | Field and Description |
|---|---|
static String |
FLOW_CONSTRAINTS_TYPE |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCapabilityLanguageFlow()
Returns the flow as an array.
|
String |
getFlowConstraintsType()
Gets the type of this
FlowConstraints object. |
void |
setCapabilityLanguageFlow(String[] aFlow)
Sets the CapabilityLanguageFlow.
|
remapIDsclone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLstatic final String FLOW_CONSTRAINTS_TYPE
String getFlowConstraintsType()
FlowConstraints object. Each sub-interface of
FlowConstraints has its own standard type identifier String. These identifier
Strings are used instead of Java class names in order to ease portability of metadata to other
languages.getFlowConstraintsType in interface FlowConstraintsFLOW_CONSTRAINTS_TYPEString[] getCapabilityLanguageFlow()
void setCapabilityLanguageFlow(String[] aFlow)
aFlow - an array of Strings, each of which identifies the AnalysisEngine to invoke at that
position in the flow.UIMA_UnsupportedOperationException - if this MetaDataObject is not modifiable.Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.