Package org.openrewrite.prethink
Class UpdatePrethinkContext
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.prethink.UpdatePrethinkContext
- All Implemented Interfaces:
Cloneable
public class UpdatePrethinkContext
extends org.openrewrite.Recipe
Core Prethink context recipe that generates CALM architecture and agent configuration.
This recipe should be included in a recipe list with other recipes that are emitting CALM entity data table rows. This recipe expects CALM-related data tables to already be populated and will generate the CALM architecture diagram and update agent configuration files accordingly.
For a sample complete solution, refer to io.moderne.prethink.UpdatePrethinkContextStarter or io.moderne.prethink.UpdatePrethinkContextNoAiStarter.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.Recipe
addDataTable, builder, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, getVisitor, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll, withOptions
-
Constructor Details
-
UpdatePrethinkContext
public UpdatePrethinkContext()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
buildRecipeList
public void buildRecipeList(org.openrewrite.RecipeList recipes) - Overrides:
buildRecipeListin classorg.openrewrite.Recipe
-