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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
getName()
boolean
void
setEnabled
(boolean enabled) Sets whether this configuration is enabled.
-
Field Details
-
PREFIX
Basecamp Configuration prefix.- See Also:
-
-
Constructor Details
-
BasecampBotConfigurationProperties
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.micronaut.core.util.Toggleable
-
setEnabled
public void setEnabled(boolean enabled) Sets whether this configuration is enabled. Default true.- Parameters:
enabled
- The enabled setting
-