Package org.openrewrite.quarkus
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
-
Field Summary
Fields inherited from interface org.openrewrite.ExecutionContext
CURRENT_CYCLE, CURRENT_RECIPE, DATA_TABLES, REQUIRE_PRINT_EQUALS_INPUT, RUN_TIMEOUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe path expressions used to find a Quarkus application's default configuration file.booleanisQuarkusConfigFile(org.openrewrite.Tree tree, @Nullable List<String> pathExpressions) setDefaultApplicationConfigurationPaths(List<String> pathExpressions) The path expressions used to find a Quarkus application's default configuration file(s).static QuarkusExecutionContextViewview(org.openrewrite.ExecutionContext ctx) Methods inherited from class org.openrewrite.DelegatingExecutionContext
getMessage, getOnError, getOnTimeout, pollMessage, putMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.ExecutionContext
addObserver, computeMessage, getCycle, getCycleDetails, getMessage, getObservers, pollMessage, putCurrentRecipe, putMessageInCollection, putMessageInSet
-
Constructor Details
-
QuarkusExecutionContextView
public QuarkusExecutionContextView(org.openrewrite.ExecutionContext delegate)
-
-
Method Details
-
view
-
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
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
-