Class AnnotationDefinedFlowController

  • All Implemented Interfaces:
    org.apache.uima.flow.FlowController

    public class AnnotationDefinedFlowController
    extends org.apache.uima.flow.JCasFlowController_ImplBase

    Routes CASes through an aggregate analysis engine according to the ToVisit annotation present in the CAS.

    If there is no ToVisit annotation, the default (fixed) flow will be used. Thus, the fixed flow constraint must be set on the aggregate engine.

    • Constructor Detail

      • AnnotationDefinedFlowController

        public AnnotationDefinedFlowController()
    • Method Detail

      • computeFlow

        public org.apache.uima.flow.Flow computeFlow​(org.apache.uima.jcas.JCas jCas)
                                              throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
        Specified by:
        computeFlow in class org.apache.uima.flow.JCasFlowController_ImplBase
        Throws:
        org.apache.uima.analysis_engine.AnalysisEngineProcessException