Package com.example.bot
Class BotService
The BotService class provides configuration properties and settings for the bot application.
-
Field Summary
Fields inherited from class com.example.common.BaseService
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a BotService with configuration properties loaded from a file path. -
Method Summary
Modifier and TypeMethodDescriptionstatic BotService
Retrieves the singleton instance of the BotService class.
-
Constructor Details
-
BotService
protected BotService()Constructs a BotService with configuration properties loaded from a file path.
-
-
Method Details
-
getInstance
Retrieves the singleton instance of the BotService class.- Returns:
- the instance of the BotService class
-