Interface FlowExecutionListenerCriteria


public interface FlowExecutionListenerCriteria
Strategy interface that determines if a flow execution listener should attach to executions of a specific flow definition.

This selection strategy is typically used by the FlowExecutionListenerLoader to determine which listeners should apply to which flow definitions.

Author:
Keith Donald, Erwin Vervaet
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Do the listeners guarded by this criteria object apply to the provided flow definition?
  • Method Details

    • appliesTo

      boolean appliesTo(FlowDefinition definition)
      Do the listeners guarded by this criteria object apply to the provided flow definition?
      Parameters:
      definition - the flow definition
      Returns:
      true if yes, false if no