Package org.openrewrite.yaml.search
Class FindProperty
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.yaml.search.FindProperty
- All Implemented Interfaces:
Cloneable
public class FindProperty
extends org.openrewrite.Recipe
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<Yaml.Block>YamlVisitor<org.openrewrite.ExecutionContext>static booleanMethods inherited from class org.openrewrite.Recipe
addApplicableTest, addSingleSourceApplicableTest, causesAnotherCycle, clone, doNext, equals, getApplicableTest, getApplicableTests, getDescriptor, getEstimatedEffortPerOccurrence, getJacksonPolymorphicTypeTag, getLanguages, getName, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, getTags, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll, visit
-
Constructor Details
-
FindProperty
public FindProperty()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getVisitor
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
find
public static Set<Yaml.Block> find(Yaml y, String propertyKey, @Nullable @Nullable Boolean relaxedBinding) -
matches
-