Package org.openrewrite.maven.ui
Class RecipeDescriptorTree
java.lang.Object
org.openrewrite.maven.ui.RecipeDescriptorTree
- All Implemented Interfaces:
Comparable<RecipeDescriptorTree>
Used for traversing around the collection of available RecipeDescriptors in the environment.
It's not the most "proper" tree in the world, since these hold both data for a "directory" of recipes as well as RecipeDescriptors themselves. But it's not the end of the world.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddChild
(RecipeDescriptorTree child) void
void
addPath
(org.openrewrite.config.RecipeDescriptor path) int
org.openrewrite.config.RecipeDescriptor
void
setRecipeDescriptor
(org.openrewrite.config.RecipeDescriptor recipeDescriptor)
-
Constructor Details
-
RecipeDescriptorTree
public RecipeDescriptorTree() -
RecipeDescriptorTree
-
-
Method Details
-
getDisplayName
-
addChild
-
addChild
-
getChildren
-
getParent
-
getRecipeDescriptor
public org.openrewrite.config.RecipeDescriptor getRecipeDescriptor() -
setRecipeDescriptor
public void setRecipeDescriptor(org.openrewrite.config.RecipeDescriptor recipeDescriptor) -
addPath
public void addPath(org.openrewrite.config.RecipeDescriptor path) -
addPath
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RecipeDescriptorTree>
-