Class BasecampBotConfigurationProperties

java.lang.Object
io.micronaut.chatbots.basecamp.core.BasecampBotConfigurationProperties
All Implemented Interfaces:
BasecampBotConfiguration, BotConfiguration, io.micronaut.core.naming.Named, io.micronaut.core.util.Toggleable

@EachProperty("micronaut.chatbots.basecamp.bots") public class BasecampBotConfigurationProperties extends Object implements BasecampBotConfiguration
EachProperty implementation of BasecampBotConfiguration.
Since:
1.0.0
Author:
Sergio del Amo
  • Field Details

  • Constructor Details

    • BasecampBotConfigurationProperties

      public BasecampBotConfigurationProperties(@Parameter String name)
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets whether this configuration is enabled. Default true.
      Parameters:
      enabled - The enabled setting