Interface HandlerClassFeature
- All Superinterfaces:
AwsCloudFeature
,AwsFeature
,CloudFeature
,io.micronaut.core.naming.Described
,Feature
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
- All Known Implementing Classes:
ApiGatewayV2AwsLambdaHandlerProvider
,BasecampAwsChatBot
,DefaultAwsLambdaHandlerProvider
,FunctionAwsLambdaHandlerProvider
,TelegramAwsChatBot
Interface to be implemented by features which require the user to define a Handler Class. e.g.
AwsLambda
- Author:
- Sergio del Amo
-
Field Summary
Fields inherited from interface io.micronaut.starter.feature.aws.AwsFeature
GROUP_ID_AWS_SDK_V2, GROUP_ID_MICRONAUT_AWS
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
handlerClass
(@NonNull ApplicationType applicationType, @NonNull Project project) default @NonNull String
handlerClass
(@NonNull GeneratorContext generatorContext) static com.fizzed.rocker.RockerModel
readmeRockerModel
(@NonNull HandlerClassFeature feature, @NonNull GeneratorContext generatorContext, @Nullable DocumentationLink documentationLink) static @NonNull String
resolveHandler
(@NonNull GeneratorContext generatorContext) Methods inherited from interface io.micronaut.starter.feature.aws.AwsCloudFeature
getCloud
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.starter.feature.Feature
apply, getCategory, getDescription, getMicronautDocumentation, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures, supports
-
Method Details
-
readmeRockerModel
static com.fizzed.rocker.RockerModel readmeRockerModel(@NonNull @NonNull HandlerClassFeature feature, @NonNull @NonNull GeneratorContext generatorContext, @Nullable @Nullable DocumentationLink documentationLink) - Parameters:
feature
- FeaturegeneratorContext
- Generator ContextdocumentationLink
- A link to documentation- Returns:
- a Rocker Model
-
handlerClass
-
handlerClass
@NonNull @NonNull String handlerClass(@NonNull @NonNull ApplicationType applicationType, @NonNull @NonNull Project project) - Parameters:
applicationType
- Type of applicationproject
- Project- Returns:
- The handler class
-
resolveHandler
-