4040 * Should not be used directly, prefer {@link HibernateValidatorConfiguration} or
4141 * {@link PredefinedScopeHibernateValidatorConfiguration}.
4242 *
43+ * @param <S> The actual type of the configuration.
44+ *
4345 * @author Emmanuel Bernard
4446 * @author Gunnar Morling
4547 * @author Kevin Pollet <kevin.pollet@serli.com> (C) 2011 SERLI
@@ -75,8 +77,8 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
7577 String ALLOW_PARALLEL_METHODS_DEFINE_PARAMETER_CONSTRAINTS = "hibernate.validator.allow_parallel_method_parameter_constraint";
7678
7779 /**
78- * @deprecated planned for removal. Use hibernate.validator.constraint_mapping_contributors instead.
7980 * @since 5.2
81+ * @deprecated planned for removal. Use hibernate.validator.constraint_mapping_contributors instead.
8082 */
8183 @Deprecated
8284 String CONSTRAINT_MAPPING_CONTRIBUTOR = "hibernate.validator.constraint_mapping_contributor";
@@ -230,7 +232,6 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
230232 *
231233 * @return the default {@code ValueExtractor} implementations compliant
232234 * with the specification
233- *
234235 * @since 6.0
235236 */
236237 @Incubating
@@ -241,9 +242,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
241242 * will be added to the constraints configured via annotations and/or xml.
242243 *
243244 * @param mapping {@code ConstraintMapping} instance containing programmatic configured constraints
244- *
245245 * @return {@code this} following the chaining method pattern
246- *
247246 * @throws IllegalArgumentException if {@code mapping} is {@code null}
248247 */
249248 S addMapping(ConstraintMapping mapping);
@@ -253,7 +252,6 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
253252 * will stop on the first constraint violation detected.
254253 *
255254 * @param failFast {@code true} to enable fail fast, {@code false} otherwise.
256- *
257255 * @return {@code this} following the chaining method pattern
258256 */
259257 S failFast(boolean failFast);
@@ -269,9 +267,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
269267 * last fallback through Hibernate Validator's own class loader.
270268 *
271269 * @param externalClassLoader The class loader for loading user-provided resources.
272- *
273270 * @return {@code this} following the chaining method pattern
274- *
275271 * @since 5.2
276272 */
277273 S externalClassLoader(ClassLoader externalClassLoader);
@@ -288,9 +284,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
288284 * </pre>
289285 *
290286 * @param allow flag determining whether validation will allow overriding to alter parameter constraints.
291- *
292287 * @return {@code this} following the chaining method pattern
293- *
294288 * @since 5.3
295289 */
296290 S allowOverridingMethodAlterParameterConstraint(boolean allow);
@@ -308,9 +302,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
308302 * </pre>
309303 *
310304 * @param allow flag determining whether validation will allow multiple cascaded validation on return values.
311- *
312305 * @return {@code this} following the chaining method pattern
313- *
314306 * @since 5.3
315307 */
316308 S allowMultipleCascadedValidationOnReturnValues(boolean allow);
@@ -328,9 +320,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
328320 * </pre>
329321 *
330322 * @param allow flag determining whether validation will allow parameter constraints in parallel hierarchies
331- *
332323 * @return {@code this} following the chaining method pattern
333- *
334324 * @since 5.3
335325 */
336326 S allowParallelMethodsDefineParameterConstraints(boolean allow);
@@ -344,9 +334,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
344334 *
345335 * @param enabled flag determining whether per validation call caching is enabled for {@code TraversableResolver}
346336 * results.
347- *
348337 * @return {@code this} following the chaining method pattern
349- *
350338 * @since 6.0.3
351339 */
352340 S enableTraversableResolverResultCache(boolean enabled);
@@ -356,9 +344,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
356344 * used to evaluate script expressions for {@link ScriptAssert} and {@link ParameterScriptAssert} constraints.
357345 *
358346 * @param scriptEvaluatorFactory the {@link ScriptEvaluatorFactory} to be used
359- *
360347 * @return {@code this} following the chaining method pattern
361- *
362348 * @since 6.0.3
363349 */
364350 @Incubating
@@ -369,9 +355,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
369355 * {@link Past}/{@link PastOrPresent} and {@link Future}/{@link FutureOrPresent}.
370356 *
371357 * @param temporalValidationTolerance the acceptable tolerance
372- *
373358 * @return {@code this} following the chaining method pattern
374- *
375359 * @since 6.0.5
376360 */
377361 @Incubating
@@ -382,9 +366,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
382366 * times, only the payload passed last will be propagated.
383367 *
384368 * @param constraintValidatorPayload the payload passed to constraint validators
385- *
386369 * @return {@code this} following the chaining method pattern
387- *
388370 * @since 6.0.8
389371 */
390372 @Incubating
@@ -395,9 +377,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
395377 * or not.
396378 *
397379 * @param getterPropertySelectionStrategy the {@link GetterPropertySelectionStrategy} to be used
398- *
399380 * @return {@code this} following the chaining method pattern
400- *
401381 * @since 6.1.0
402382 */
403383 @Incubating
@@ -408,9 +388,7 @@ public interface BaseHibernateValidatorConfiguration<S extends BaseHibernateVali
408388 * when constructing a property path as the one returned by {@link ConstraintViolation#getPropertyPath()}.
409389 *
410390 * @param propertyNodeNameProvider the {@link PropertyNodeNameProvider} to be used
411- *
412391 * @return {@code this} following the chaining method pattern
413- *
414392 * @since 6.1.0
415393 */
416394 @Incubating
@@ -458,9 +436,7 @@ default S locales(Locale... locales) {
458436 * Allows setting a locale resolver, defining how the locale will be resolved when interpolating the message of a constraint violation.
459437 *
460438 * @param localeResolver the {@link LocaleResolver} to be used
461- *
462439 * @return {@code this} following the chaining method pattern
463- *
464440 * @since 6.1.1
465441 */
466442 @Incubating
@@ -479,7 +455,6 @@ default S locales(Locale... locales) {
479455 *
480456 * @param expressionLanguageFeatureLevel the {@link ExpressionLanguageFeatureLevel} to be used
481457 * @return {@code this} following the chaining method pattern
482- *
483458 * @since 6.2
484459 */
485460 @Incubating
@@ -492,7 +467,6 @@ default S locales(Locale... locales) {
492467 *
493468 * @param expressionLanguageFeatureLevel the {@link ExpressionLanguageFeatureLevel} to be used
494469 * @return {@code this} following the chaining method pattern
495- *
496470 * @since 6.2
497471 */
498472 @Incubating
@@ -505,7 +479,6 @@ default S locales(Locale... locales) {
505479 *
506480 * @param enabled flag determining whether validated values will be printed out into trace level logs or not.
507481 * @return {@code this} following the chaining method pattern
508- *
509482 * @since 8.0
510483 */
511484 @Incubating
@@ -517,9 +490,7 @@ default S locales(Locale... locales) {
517490 * constraints generated a violation.
518491 *
519492 * @param failFastOnPropertyViolation {@code true} to enable the skipping mode, {@code false} otherwise.
520- *
521493 * @return {@code this} following the chaining method pattern
522- *
523494 * @since 9.0
524495 */
525496 @Incubating
0 commit comments