Interface HibernateValidatorBuildTimeConfig.HibernateValidatorExpressionLanguageBuildTimeConfig

Enclosing interface:
HibernateValidatorBuildTimeConfig

public static interface HibernateValidatorBuildTimeConfig.HibernateValidatorExpressionLanguageBuildTimeConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.hibernate.validator.messageinterpolation.ExpressionLanguageFeatureLevel>
    Configure the Expression Language feature level for constraints, allowing the selection of Expression Language features available for message interpolation.
  • Method Details

    • constraintExpressionFeatureLevel

      @ConfigDocDefault("bean-properties") Optional<org.hibernate.validator.messageinterpolation.ExpressionLanguageFeatureLevel> constraintExpressionFeatureLevel()
      Configure the Expression Language feature level for constraints, allowing the selection of Expression Language features available for message interpolation.

      This property only affects the EL feature level of "static" constraint violation messages set through the message attribute of constraint annotations.

      In particular, it doesn't affect the default EL feature level for custom violations created programmatically in validator implementations. The feature level for those can only be configured directly in the validator implementation.