Package org.openrewrite.config
Class CompositeRecipe
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.config.CompositeRecipe
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
DeclarativeRecipe
A recipe that exists only to wrap other recipes.
Anonymous recipe classes aren't serializable/deserializable so use this, or another named type, instead
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA human-readable display name for the recipe, initial capped with no period.Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addApplicableTest, addDataTable, addSingleSourceApplicableTest, addSingleSourceApplicableTest, causesAnotherCycle, clone, createRecipeDescriptor, doNext, equals, getApplicableTest, getApplicableTests, getContributors, getDescription, getDescriptor, getExamples, getJacksonPolymorphicTypeTag, getLanguages, getMaintainers, getName, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, getTags, getVisitor, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll, visit
-
Constructor Details
-
CompositeRecipe
public CompositeRecipe()
-
-
Method Details
-
getDisplayName
Description copied from class:RecipeA human-readable display name for the recipe, initial capped with no period. For example, "Find text". The display name can be assumed to be rendered in documentation and other places where markdown is understood, so it is possible to use stylistic markers like backticks to indicate types. For example, "Find uses of `java.util.List`".- Specified by:
getDisplayNamein classRecipe- Returns:
- The display name.
-
getEstimatedEffortPerOccurrence
- Overrides:
getEstimatedEffortPerOccurrencein classRecipe- Returns:
- An estimated effort were a developer to fix manually instead of using this recipe.
-
getDataTableDescriptors
- Overrides:
getDataTableDescriptorsin classRecipe
-