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

public interface HandlerClassFeature extends Feature, AwsFeature
Interface to be implemented by features which require the user to define a Handler Class. e.g. AwsLambda
Author:
Sergio del Amo
  • Method Details

    • readmeRockerModel

      static com.fizzed.rocker.RockerModel readmeRockerModel(@NonNull @NonNull HandlerClassFeature feature, @NonNull @NonNull GeneratorContext generatorContext, @Nullable @Nullable DocumentationLink documentationLink)
      Parameters:
      feature - Feature
      generatorContext - Generator Context
      documentationLink - A link to documentation
      Returns:
      a Rocker Model
    • handlerClass

      @NonNull default @NonNull String handlerClass(@NonNull @NonNull GeneratorContext generatorContext)
    • handlerClass

      @NonNull @NonNull String handlerClass(@NonNull @NonNull ApplicationType applicationType, @NonNull @NonNull Project project)
      Parameters:
      applicationType - Type of application
      project - Project
      Returns:
      The handler class
    • resolveHandler

      @NonNull static @NonNull String resolveHandler(@NonNull @NonNull GeneratorContext generatorContext)