Class ValidationContext

java.lang.Object
com.broadleafcommerce.data.tracking.core.policy.ValidationContext

public class ValidationContext extends Object
Thread context used to describe whether or not a policy validation is currently in progress. This is useful to avoid recursive validation caused by interaction with various services called in support of validation itself.
Author:
Jeff Fischer, Erin Pennington
  • Method Details

    • startValidationFlow

      public static void startValidationFlow()
    • endValidationFlow

      public static void endValidationFlow()
    • inValidation

      public static boolean inValidation()