Class HttpClientTest
java.lang.Object
io.micronaut.projectgen.micronaut.features.httpclient.HttpClientTest
- All Implemented Interfaces:
io.micronaut.core.naming.Described,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,Feature,OpenRewriteFeature
@Requires(property="micronaut.starter.feature.http.client.test.enabled",
value="true",
defaultValue="true")
@Singleton
public class HttpClientTest
extends Object
implements OpenRewriteFeature
Test feature for Micronaut HTTP client dependencies that provides
OpenRewrite recipes conditionally based on the project setup and features.
This feature is not visible to users.
-
Field Summary
FieldsFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()The name of the feature.intgetOrder()The order of a feature controls the order in which it applies.getRecipes(GeneratorContext generatorContext) booleanSome features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.projectgen.core.feature.Feature
getCategory, getDescription, getTitle, isCommunity, isPreview, processSelectedFeatures, supportsMethods inherited from interface io.micronaut.projectgen.core.openrewrite.OpenRewriteFeature
apply, getFrameworkDocumentation, getThirdPartyDocumentation, processRecipes
-
Field Details
-
ARTIFACT_ID_MICRONAUT_HTTP_CLIENT
- See Also:
-
-
Constructor Details
-
HttpClientTest
public HttpClientTest()
-
-
Method Details
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique. -
isVisible
public boolean isVisible()Description copied from interface:FeatureSome features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason. -
getRecipes
- Specified by:
getRecipesin interfaceOpenRewriteFeature
-
getOrder
public int getOrder()Description copied from interface:FeatureThe order of a feature controls the order in which it applies. The order of a feature is important to ensure that any previous work done by other features that may be required is done. SeeFeaturePhasefor a list of phases to choose from.
-