Class FunctionAwsLambdaHandlerProvider

java.lang.Object
io.micronaut.starter.feature.function.awslambda.FunctionAwsLambdaHandlerProvider
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, AwsCloudFeature, AwsFeature, Feature, CloudFeature, HandlerClassFeature

@Singleton public class FunctionAwsLambdaHandlerProvider extends Object implements HandlerClassFeature
  • Field Details

  • Constructor Details

    • FunctionAwsLambdaHandlerProvider

      public FunctionAwsLambdaHandlerProvider()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • isVisible

      public boolean isVisible()
      Description copied from interface: Feature
      Some 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.
      Specified by:
      isVisible in interface Feature
      Returns:
      True if the feature should able to be selected by the user
    • supports

      public boolean supports(ApplicationType applicationType)
      Description copied from interface: Feature
      This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.
      Specified by:
      supports in interface Feature
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • handlerClass

      @NonNull public @NonNull String handlerClass(@NonNull @NonNull ApplicationType applicationType, @NonNull @NonNull Project project)
      Specified by:
      handlerClass in interface HandlerClassFeature
      Parameters:
      applicationType - Type of application
      project - Project
      Returns:
      The handler class