Class ChangeManagedDependencyGroupIdAndArtifactId

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId
All Implemented Interfaces:
Cloneable

public class ChangeManagedDependencyGroupIdAndArtifactId extends org.openrewrite.Recipe
  • Constructor Details

    • ChangeManagedDependencyGroupIdAndArtifactId

      public ChangeManagedDependencyGroupIdAndArtifactId(String oldGroupId, String oldArtifactId, String newGroupId, String newArtifactId, @Nullable @Nullable String newVersion)
    • ChangeManagedDependencyGroupIdAndArtifactId

      public ChangeManagedDependencyGroupIdAndArtifactId(String oldGroupId, String oldArtifactId, String newGroupId, String newArtifactId, @Nullable @Nullable String newVersion, @Nullable @Nullable String versionPattern)
  • Method Details

    • validate

      public org.openrewrite.Validated<Object> validate()
      Overrides:
      validate in class org.openrewrite.Recipe
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class org.openrewrite.Recipe
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class org.openrewrite.Recipe
    • getVisitor

      public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()
      Overrides:
      getVisitor in class org.openrewrite.Recipe