Class BasecampHttpChatBot

java.lang.Object
io.micronaut.starter.feature.chatbots.ChatBots
io.micronaut.starter.feature.chatbots.basecamp.BasecampHttpChatBot
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, ChatBotsFeature, CodeContributingFeature, Feature

@Singleton public class BasecampHttpChatBot extends ChatBots
Adds support for Telegram chatbots as Google Cloud Functions.
Since:
4.3.0
Author:
Tim Yates
  • Field Details

  • Constructor Details

  • Method Details

    • 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.
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • renderTemplates

      protected void renderTemplates(GeneratorContext generatorContext)
    • getName

      @NonNull public @NonNull String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Returns:
      the name of the feature
    • getTitle

      public String getTitle()
      Returns:
      The title of the feature
    • getDescription

      public String getDescription()
    • addDependencies

      protected void addDependencies(GeneratorContext generatorContext)
      Specified by:
      addDependencies in class ChatBots
    • rootReadMeTemplate

      public RockerTemplate rootReadMeTemplate(GeneratorContext generatorContext)
      Specified by:
      rootReadMeTemplate in class ChatBots
    • getBuildCommand

      protected String getBuildCommand(BuildTool buildTool)
      Specified by:
      getBuildCommand in class ChatBots
    • addConfigurations

      protected void addConfigurations(GeneratorContext generatorContext)
      Specified by:
      addConfigurations in class ChatBots
    • getThirdPartyDocumentation

      public String getThirdPartyDocumentation()
      Returns:
      Returns a link to third party. E.g. https://hazelcast.org
    • getChatBotType

      public ChatBotType getChatBotType()
      Specified by:
      getChatBotType in class ChatBots