Class NotTransitionCriteria

java.lang.Object
org.springframework.webflow.engine.support.NotTransitionCriteria
All Implemented Interfaces:
TransitionCriteria

public class NotTransitionCriteria extends Object implements TransitionCriteria
Transition criteria that negates the result of the evaluation of another criteria object.
Author:
Keith Donald
  • Constructor Details

    • NotTransitionCriteria

      public NotTransitionCriteria(TransitionCriteria criteria)
      Create a new transition criteria object that will negate the result of given criteria object.
      Parameters:
      criteria - the criteria to negate
  • 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