Interface HibernateMessageInterpolatorContext

All Superinterfaces:
jakarta.validation.MessageInterpolator.Context
All Known Implementing Classes:
MessageInterpolatorContext

public interface HibernateMessageInterpolatorContext extends jakarta.validation.MessageInterpolator.Context
Extension to MessageInterpolator.Context which provides functionality specific to Hibernate Validator.
Since:
5.0
Author:
Gunnar Morling, Guillaume Smet
  • Method Details

    • getRootBeanType

      Class<?> getRootBeanType()
      Returns the currently validated root bean type.
      Returns:
      The currently validated root bean type.
    • getMessageParameters

      Map<String,Object> getMessageParameters()
      Returns:
      the message parameters added to this context for interpolation
      Since:
      5.4.1
    • getExpressionVariables

      Map<String,Object> getExpressionVariables()
      Returns:
      the expression variables added to this context for EL interpolation
      Since:
      5.4.1
    • getPropertyPath

      jakarta.validation.Path getPropertyPath()
      Returns:
      the path to the validated constraint starting from the root bean
      Since:
      6.1
    • getExpressionLanguageFeatureLevel

      ExpressionLanguageFeatureLevel getExpressionLanguageFeatureLevel()
      Returns:
      the level of features enabled for the Expression Language engine
      Since:
      6.2