Package org.openrewrite.java.spring
Class ChangeDeprecatedHibernateValidationToJavax
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.spring.ChangeDeprecatedHibernateValidationToJavax
-
public class ChangeDeprecatedHibernateValidationToJavax extends org.openrewrite.RecipeChanges Depricated Hibernate validation constraints to their associated Javax validation variant. Then sets the 'javax-validation-exists' ExecutionContext value to True which allows theMaybeAddJavaxValidationDependenciesto add the associated dependencies
-
-
Constructor Summary
Constructors Constructor Description ChangeDeprecatedHibernateValidationToJavax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDisplayName()protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getVisitor()
-