@Singleton public class Netty extends AbstractMicronautServerFeature implements DefaultFeature
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
PROPERTY_MICRONAUT_RUNTIME
Constructor and Description |
---|
Netty() |
Modifier and Type | Method and Description |
---|---|
void |
doApply(GeneratorContext generatorContext) |
java.lang.String |
getDescription() |
java.lang.String |
getName()
The name of the feature.
|
java.lang.String |
getTitle() |
java.lang.String |
resolveMicronautRuntime(GeneratorContext generatorContext) |
boolean |
shouldApply(ApplicationType applicationType,
Options options,
java.util.Set<Feature> selectedFeatures)
Determines if the feature should be applied to the project.
|
apply
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, getCategory, getMicronautDocumentation, getOrder, getThirdPartyDocumentation, isCommunity, isPreview, isVisible, processSelectedFeatures, supports
getCategory, getFeatureClass, supports
public java.lang.String getName()
Feature
public java.lang.String getTitle()
public java.lang.String getDescription()
getDescription
in interface io.micronaut.core.naming.Described
getDescription
in interface Feature
public boolean shouldApply(ApplicationType applicationType, Options options, java.util.Set<Feature> selectedFeatures)
DefaultFeature
shouldApply
in interface DefaultFeature
applicationType
- The application typeoptions
- The optionsselectedFeatures
- The features manually selected by the userpublic void doApply(GeneratorContext generatorContext)
doApply
in class AbstractMicronautServerFeature
@NonNull public java.lang.String resolveMicronautRuntime(@NonNull GeneratorContext generatorContext)
resolveMicronautRuntime
in interface MicronautRuntimeFeature