public interface FixedFlow extends FlowConstraints
FixedFlow
is a simple type of FlowConstraints
that specifies the
complete flow as a fixed sequence.
Each element in the sequence is specified as a String identifier. The FixedFlow
object does not assign any particular meaning to these Strings - it is the user of the
FixedFlow
object that must understand how to map them to AnalysisEngines
themselves.
Modifier and Type | Field and Description |
---|---|
static String |
FLOW_CONSTRAINTS_TYPE
The type identifier for this class of
FlowConstraints . |
Modifier and Type | Method and Description |
---|---|
String[] |
getFixedFlow()
Returns the flow as an array.
|
String |
getFlowConstraintsType()
Gets the type of this
FlowConstraints object. |
void |
setFixedFlow(String[] aFlow)
Sets the fixed flow.
|
remapIDs
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
static final String FLOW_CONSTRAINTS_TYPE
FlowConstraints
. This is the return value
of getFlowConstraintsType()
.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 FlowConstraints
FLOW_CONSTRAINTS_TYPE
String[] getFixedFlow()
void setFixedFlow(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–2017 The Apache Software Foundation. All rights reserved.