Class ValidationProviderHelper
java.lang.Object
org.hibernate.validator.cdi.internal.ValidationProviderHelper
Provides functionality for dealing with validation provider types.
- Author:
- Gunnar Morling
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationProviderHelper
forDefaultProvider
(ValidatorFactory validatorFactory) static ValidationProviderHelper
boolean
Whether the given provider is the default provider or not.boolean
Whether the given provider is Hibernate Validator or not.toString()
-
Method Details
-
forDefaultProvider
-
forHibernateValidator
-
isDefaultProvider
public boolean isDefaultProvider()Whether the given provider is the default provider or not.- Returns:
true
if the given provider is the default provider,false
otherwise
-
isHibernateValidator
public boolean isHibernateValidator()Whether the given provider is Hibernate Validator or not. -
toString
-