Class WildcardTransitionCriteria

java.lang.Object
org.springframework.webflow.engine.WildcardTransitionCriteria
All Implemented Interfaces:
Serializable, TransitionCriteria

public class WildcardTransitionCriteria extends Object implements TransitionCriteria, Serializable
Transition criteria that always returns true.
Author:
Keith Donald
See Also:
  • Field Details

    • WILDCARD_EVENT_ID

      public static final String WILDCARD_EVENT_ID
      Event id value ("*") that will cause the transition to match on any event.
      See Also:
    • INSTANCE

      public static final WildcardTransitionCriteria INSTANCE
      Shared instance of a TransitionCriteria that always returns true.
  • Method Details

    • test

      public boolean test(RequestContext context)
      Description copied from interface: TransitionCriteria
      Check if the transition should fire based on the given flow execution request context.
      Specified by:
      test in interface TransitionCriteria
      Parameters:
      context - the flow execution request context
      Returns:
      true if the transition should fire, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object