Class ReplaceDeprecatedEnvironmentTestUtils
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.spring.boot2.ReplaceDeprecatedEnvironmentTestUtils
-
public class ReplaceDeprecatedEnvironmentTestUtils extends org.openrewrite.Recipe
-
-
Field Summary
Fields Modifier and Type Field Description static org.openrewrite.java.MethodMatcherAPP_CONTEXT_MATCHERstatic java.lang.StringENV_UTILS_ADD_ENV_FQNstatic org.openrewrite.java.MethodMatcherENVIRONMENT_MATCHERstatic org.openrewrite.java.MethodMatcherNAMED_ENVIRONMENT_MATCHERstatic java.lang.StringTEST_PROPERTY_VALUES_FQN
-
Constructor Summary
Constructors Constructor Description ReplaceDeprecatedEnvironmentTestUtils()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetDisplayName()protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getVisitor()
-
-
-
Field Detail
-
ENV_UTILS_ADD_ENV_FQN
public static final java.lang.String ENV_UTILS_ADD_ENV_FQN
- See Also:
- Constant Field Values
-
TEST_PROPERTY_VALUES_FQN
public static final java.lang.String TEST_PROPERTY_VALUES_FQN
- See Also:
- Constant Field Values
-
APP_CONTEXT_MATCHER
public static final org.openrewrite.java.MethodMatcher APP_CONTEXT_MATCHER
-
ENVIRONMENT_MATCHER
public static final org.openrewrite.java.MethodMatcher ENVIRONMENT_MATCHER
-
NAMED_ENVIRONMENT_MATCHER
public static final org.openrewrite.java.MethodMatcher NAMED_ENVIRONMENT_MATCHER
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getVisitor
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
-