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 ValidationProviderHelperforDefaultProvider(ValidatorFactory validatorFactory) static ValidationProviderHelperbooleanWhether the given provider is the default provider or not.booleanWhether 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:
trueif the given provider is the default provider,falseotherwise
-
isHibernateValidator
public boolean isHibernateValidator()Whether the given provider is Hibernate Validator or not. -
toString
-