Class ChangeDependencyGroupIdAndArtifactId

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

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

    • ChangeDependencyGroupIdAndArtifactId

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

      public ChangeDependencyGroupIdAndArtifactId(String oldGroupId, String oldArtifactId, @Nullable @Nullable String newGroupId, @Nullable @Nullable String newArtifactId, @Nullable @Nullable String newVersion, @Nullable @Nullable String versionPattern, @Nullable @Nullable Boolean overrideManagedVersion, @Nullable @Nullable Boolean changeManagedDependency)
  • Method Details

    • getDisplayName

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

      public String getInstanceNameSuffix()
      Overrides:
      getInstanceNameSuffix in class org.openrewrite.Recipe
    • getDescription

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

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

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