Package org.openrewrite.yaml
Class ChangePropertyKey
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.yaml.ChangePropertyKey
- All Implemented Interfaces:
Cloneable
public class ChangePropertyKey
extends org.openrewrite.Recipe
Nested YAML mappings are interpreted as dot
separated property names, e.g. as Spring Boot
interprets application.yml files.
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> YamlVisitor<org.openrewrite.ExecutionContext>Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addSingleSourceApplicableTest, causesAnotherCycle, clone, doNext, equals, getApplicableTest, getApplicableTests, getDescriptor, getEstimatedEffortPerOccurrence, getJacksonPolymorphicTypeTag, getLanguages, getName, getRecipeList, getSingleSourceApplicableTests, getTags, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll, visit
-
Constructor Details
-
ChangePropertyKey
public ChangePropertyKey()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
getVisitor
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-