Class QuarkusExecutionContextView

java.lang.Object
org.openrewrite.DelegatingExecutionContext
org.openrewrite.quarkus.QuarkusExecutionContextView
All Implemented Interfaces:
org.openrewrite.ExecutionContext

public class QuarkusExecutionContextView extends org.openrewrite.DelegatingExecutionContext
  • Constructor Details

    • QuarkusExecutionContextView

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

    • view

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

      public QuarkusExecutionContextView setDefaultApplicationConfigurationPaths(List<String> pathExpressions)
      The path expressions used to find a Quarkus application's default configuration file(s). The default masks used to find the application's root configuration are "**/application.properties", "**/application.yml", "**/application.yaml" and "**/META-INF/microprofile-config.properties"
      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 Quarkus application's default configuration file. The default masks used to find the application's root configuration are "**/application.properties", "**/application.yml", "**/application.yaml" and "**/META-INF/microprofile-config.properties"
      Returns:
      A list of file paths expression that will be used to find a Quarkus application's default configuration file(s)
    • isQuarkusConfigFile

      public boolean isQuarkusConfigFile(org.openrewrite.Tree tree, @Nullable @Nullable List<String> pathExpressions)