Class FixedFlowController

All Implemented Interfaces:
FlowController

public class FixedFlowController extends CasFlowController_ImplBase
Simple FlowController that invokes components in a fixed sequence.
  • Field Details

    • PARAM_ACTION_AFTER_CAS_MULTIPLIER

      public static final String PARAM_ACTION_AFTER_CAS_MULTIPLIER
      Key for the configuration parameter that determines what should happen to a CAS after it has been input to a CAS Multiplier. Possible values are: continue: the CAS continues on to the next element in the flow stop: the CAS will no longer continue in the flow, and will be returned from the aggregate if possible. drop: the CAS will no longer continue in the flow, and will be dropped (not returned from the aggregate) if possible. dropIfNewCasProduced (the default): if the CAS multiplier produced a new CAS as a result of processing this CAS, then this CAS will be dropped. If not, then this CAS will continue.
      See Also:
    • ACTION_CONTINUE

      private static final int ACTION_CONTINUE
      See Also:
    • ACTION_STOP

      private static final int ACTION_STOP
      See Also:
    • ACTION_DROP

      private static final int ACTION_DROP
      See Also:
    • ACTION_DROP_IF_NEW_CAS_PRODUCED

      private static final int ACTION_DROP_IF_NEW_CAS_PRODUCED
      See Also:
    • mSequence

      private final List<String> mSequence
    • mActionAfterCasMultiplier

      private int mActionAfterCasMultiplier
  • Constructor Details

    • FixedFlowController

      public FixedFlowController()
  • Method Details