Package org.openrewrite.java.spring
Class ChangeSpringPropertyKey
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.spring.ChangeSpringPropertyKey
- All Implemented Interfaces:
Cloneable
public class ChangeSpringPropertyKey
extends org.openrewrite.Recipe
This composite recipe will change a spring application property key across YAML and properties files.
TODO: Add a java visitor to this recipe that will change property keys in @Value, @PropertySource and @TestPropertySource
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addApplicableTest, addDataTable, addSingleSourceApplicableTest, addSingleSourceApplicableTest, causesAnotherCycle, clone, createRecipeDescriptor, doNext, equals, getApplicableTest, getApplicableTests, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getJacksonPolymorphicTypeTag, getLanguages, getMaintainers, getName, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, getTags, getVisitor, hashCode, noop, run, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
ChangeSpringPropertyKey
public ChangeSpringPropertyKey()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
visit
protected List<org.openrewrite.SourceFile> visit(List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx) - Overrides:
visitin classorg.openrewrite.Recipe
-