public class ParallelStep extends Step
After all the specified Analysis Engines have completed their processing, the Flow.next()
method will be called again to determine the next destination for the CAS.
Constructor and Description |
---|
ParallelStep(Collection<String> aAnalysisEngineKeys)
Creates a new ParallelStep
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAnalysisEngineKeys()
Gets the keys of the Analysis Engines to which the CAS should be routed.
|
void |
setAnalysisEngineKeys(Collection<String> aKeys)
Sets the keys of the Analysis Engines to which the CAS should be routed.
|
public ParallelStep(Collection<String> aAnalysisEngineKeys)
aAnalysisEngineKeys
- A Collection of Strings, where each String is the key of an Analysis Engine to which the CAS
should be routed. Each String must bee one of the keys in the FlowController's
FlowControllerContext.getAnalysisEngineMetaDataMap()
.public Collection<String> getAnalysisEngineKeys()
public void setAnalysisEngineKeys(Collection<String> aKeys)
aKeys
- A Collection of Strings, where each String is the key of an Analysis Engine to which the CAS
should be routed. Each String must bee one of the keys in the FlowController's
FlowControllerContext.getAnalysisEngineMetaDataMap()
.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.