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_AWSFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescription@NonNull StringhandlerClass(@NonNull ApplicationType applicationType, @NonNull Project project) default @NonNull StringhandlerClass(@NonNull GeneratorContext generatorContext) static com.fizzed.rocker.RockerModelreadmeRockerModel(@NonNull HandlerClassFeature feature, @NonNull GeneratorContext generatorContext, @Nullable DocumentationLink documentationLink) static @NonNull StringresolveHandler(@NonNull GeneratorContext generatorContext) Methods inherited from interface io.micronaut.starter.feature.aws.AwsCloudFeature
getCloudMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods 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
-