Class SpringExecutionContextView

java.lang.Object
org.openrewrite.DelegatingExecutionContext
org.openrewrite.java.spring.SpringExecutionContextView
All Implemented Interfaces:
org.openrewrite.ExecutionContext, org.openrewrite.rpc.RpcCodec<org.openrewrite.ExecutionContext>

public class SpringExecutionContextView extends org.openrewrite.DelegatingExecutionContext
  • Field Summary

    Fields inherited from interface org.openrewrite.ExecutionContext

    CURRENT_CYCLE, CURRENT_RECIPE, DATA_TABLES, REQUIRE_PRINT_EQUALS_INPUT, RUN_TIMEOUT, SCANNING_MUTATION_VALIDATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpringExecutionContextView(org.openrewrite.ExecutionContext delegate)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The path expressions used to find a spring boot application's default configuration file.
    The path expressions used to find a spring boot application's default configuration file(s).
    view(org.openrewrite.ExecutionContext ctx)
     

    Methods inherited from class org.openrewrite.DelegatingExecutionContext

    getDelegate, getMessage, getMessages, getOnError, getOnTimeout, pollMessage, putMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.openrewrite.ExecutionContext

    addObserver, computeMessage, computeMessageIfAbsent, getCycle, getCycleDetails, getMessage, getObservers, pollMessage, putCurrentRecipe, putMessageInCollection, putMessageInSet, rpcReceive, rpcSend
  • Constructor Details

    • SpringExecutionContextView

      public SpringExecutionContextView(org.openrewrite.ExecutionContext delegate)
  • Method Details

    • view

      public static SpringExecutionContextView view(org.openrewrite.ExecutionContext ctx)
    • setDefaultApplicationConfigurationPaths

      public SpringExecutionContextView setDefaultApplicationConfigurationPaths(List<String> pathExpressions)
      The path expressions used to find a spring boot application's default configuration file(s). The default masks used to find the application's root configuration are "**/application.properties", "**/application.yml", and "**/application.yaml"
      Parameters:
      pathExpressions - A list of expressions that will be used as masks to find an application's default configuration file(s)
      Returns:
      this
    • getDefaultApplicationConfigurationPaths

      public List<String> getDefaultApplicationConfigurationPaths()
      The path expressions used to find a spring boot application's default configuration file. The default masks used to find the application's root configuration are "**/application.properties", "**/application.yml", and "**/application.yaml"
      Returns:
      A list of file paths expression that will be used to find a spring boot application's default configuration file(s)