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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildRecipeList(org.openrewrite.RecipeList recipes)
     
     
     

    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

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UpdatePrethinkContext

      public UpdatePrethinkContext()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class org.openrewrite.Recipe
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in class org.openrewrite.Recipe
    • buildRecipeList

      public void buildRecipeList(org.openrewrite.RecipeList recipes)
      Overrides:
      buildRecipeList in class org.openrewrite.Recipe