Package org.openrewrite.maven
Class ChangeDependencyGroupIdAndArtifactId
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<ChangeDependencyGroupIdAndArtifactId.Accumulator>
org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId
- All Implemented Interfaces:
Cloneable
public class ChangeDependencyGroupIdAndArtifactId
extends org.openrewrite.ScanningRecipe<ChangeDependencyGroupIdAndArtifactId.Accumulator>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
ConstructorsConstructorDescriptionChangeDependencyGroupIdAndArtifactId(String oldGroupId, String oldArtifactId, @Nullable String newGroupId, @Nullable String newArtifactId, @Nullable String newVersion, @Nullable String versionPattern) ChangeDependencyGroupIdAndArtifactId(String oldGroupId, String oldArtifactId, @Nullable String newGroupId, @Nullable String newArtifactId, @Nullable String newVersion, @Nullable String versionPattern, @Nullable Boolean overrideManagedVersion, @Nullable Boolean changeManagedDependency) -
Method Summary
Modifier and TypeMethodDescriptiongetInitialValue(org.openrewrite.ExecutionContext ctx) org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> org.openrewrite.Validated<Object> validate()Methods inherited from class org.openrewrite.ScanningRecipe
clone, generate, generate, getAccumulator, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescription, getDescriptor, getDisplayName, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validateAll, validateAll, withOptions
-
Constructor Details
-
ChangeDependencyGroupIdAndArtifactId
-
ChangeDependencyGroupIdAndArtifactId
-
-
Method Details
-
getInstanceNameSuffix
- Overrides:
getInstanceNameSuffixin classorg.openrewrite.Recipe
-
validate
- Overrides:
validatein classorg.openrewrite.Recipe
-
getInitialValue
public ChangeDependencyGroupIdAndArtifactId.Accumulator getInitialValue(org.openrewrite.ExecutionContext ctx) - Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<ChangeDependencyGroupIdAndArtifactId.Accumulator>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(ChangeDependencyGroupIdAndArtifactId.Accumulator acc) - Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<ChangeDependencyGroupIdAndArtifactId.Accumulator>
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor(ChangeDependencyGroupIdAndArtifactId.Accumulator acc) - Overrides:
getVisitorin classorg.openrewrite.ScanningRecipe<ChangeDependencyGroupIdAndArtifactId.Accumulator>
-