Package org.apache.uima.fit.descriptor
Annotation Interface OperationalProperties
Control aspects of the UIMA analysis component.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Gets whether this component will modify the CAS.boolean
Gets whether multiple instances of this component can be run in parallel, each receiving a subset of the documents from a collection.boolean
Gets whether this AnalysisEngine may output new CASes. -
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
the default value for modifiesCas if none is givenstatic final boolean
the default value for multipleDeploymentAllowed if none is given.static final boolean
the default value for outputsNewCases if none is given
-
Field Details
-
MULTIPLE_DEPLOYMENT_ALLOWED_DEFAULT
static final boolean MULTIPLE_DEPLOYMENT_ALLOWED_DEFAULTthe default value for multipleDeploymentAllowed if none is given.- See Also:
-
MODIFIES_CAS_DEFAULT
static final boolean MODIFIES_CAS_DEFAULTthe default value for modifiesCas if none is given- See Also:
-
OUTPUTS_NEW_CASES_DEFAULT
static final boolean OUTPUTS_NEW_CASES_DEFAULTthe default value for outputsNewCases if none is given- See Also:
-
-
Element Details
-
multipleDeploymentAllowed
boolean multipleDeploymentAllowedGets whether multiple instances of this component can be run in parallel, each receiving a subset of the documents from a collection.- Returns:
- true if multiple instances can be run in parallel, false if not
- See Also:
-
OperationalProperties.isMultipleDeploymentAllowed()
- Default:
- true
-
modifiesCas
boolean modifiesCasGets whether this component will modify the CAS.- Returns:
- true if this component modifies the CAS, false if it does not.
- See Also:
-
OperationalProperties.getModifiesCas()
- Default:
- true
-
outputsNewCases
boolean outputsNewCasesGets whether this AnalysisEngine may output new CASes. If this property is set to true, an application can use theAnalysisEngine.processAndOutputNewCASes(org.apache.uima.cas.CAS)
to pass a CAS to this this AnalysisEngine and then step through all of the output CASes that it produces. For example, such an AnalysisEngine could segment a CAS into smaller pieces, emitting each as a separate CAS.- Returns:
- true if this component may output new CASes, false if it does not
- See Also:
-
OperationalProperties.getOutputsNewCASes()
- Default:
- false
-