Interface TransitionCriteria

All Known Implementing Classes:
ActionTransitionCriteria, DefaultTransitionCriteria, NotTransitionCriteria, TransitionCriteriaChain, WildcardTransitionCriteria

public interface TransitionCriteria
Strategy interface encapsulating criteria that determine whether or not a transition should execute given a flow execution request context.
Author:
Keith Donald, Erwin Vervaet
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Check if the transition should fire based on the given flow execution request context.
  • Method Details

    • test

      boolean test(RequestContext context)
      Check if the transition should fire based on the given flow execution request context.
      Parameters:
      context - the flow execution request context
      Returns:
      true if the transition should fire, false otherwise