Package org.openrewrite.gradle.plugins
Class ChangePlugin
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.gradle.plugins.ChangePlugin
- All Implemented Interfaces:
Cloneable
public class ChangePlugin
extends org.openrewrite.Recipe
When changing a plugin id that uses the `apply` syntax or versionless plugins syntax, the version is will not be changed.
At the time of this writing, we do not have a relationship between the plugin id and the jar that contains it that is
required in order to update the version for the apply syntax. For the versionless plugins syntax, the version for a
third party plugin must be defined in another file that is presently outside the scope of change for this recipe.
If you are using either of these plugin styles, you should ensure that the plugin's version is appropriately updated.
-
Nested Class Summary
Nested 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
Constructors -
Method Summary
Methods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validateAll, validateAll
-
Constructor Details
-
ChangePlugin
public ChangePlugin()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getInstanceNameSuffix
- Overrides:
getInstanceNameSuffixin classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
validate
- Overrides:
validatein classorg.openrewrite.Recipe
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()- Overrides:
getVisitorin classorg.openrewrite.Recipe
-