org.apache.uima.flow
Class SimpleStepWithResultSpec
java.lang.Object
org.apache.uima.flow.Step
org.apache.uima.flow.SimpleStep
org.apache.uima.flow.SimpleStepWithResultSpec
Deprecated. For backwards compatibility with Capability Language Flow only.
User-developed Flow Controllers should not use this.
@Deprecated
public class SimpleStepWithResultSpec
- extends SimpleStep
Special type of SimpleStep intended only for backwards compatibility with
the behavior of the Capability Language Flow in UIMA 1.x. Allows the
Flow Controller to set a Result Specification for the AE that will be called next.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleStepWithResultSpec
public SimpleStepWithResultSpec(String aCasProcessorKey,
ResultSpecification aResultSpec)
- Deprecated.
- Parameters:
casProcessorKey
- currentAnalysisResultSpec
-
getResultSpecification
public ResultSpecification getResultSpecification()
- Deprecated.
- Gets the key of the Analysis Engine to which the CAS should be routed.
- Returns:
- an AnalysisEngine key
setResultSpecification
public void setResultSpecification(ResultSpecification aResultSpec)
- Deprecated.
- Sets the key of the Analysis Engine to which the CAS should be routed. By using this method, a
user's Flow implementation can (but is not required to) reuse the same SimpleStep object
multiple times.
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.