Interface ServiceDeclarator

  • All Known Implementing Classes:
    CommonServices

    public interface ServiceDeclarator
    Declares one or more services to register to the bot.
    • Method Detail

      • declareServices

        Set<com.github.alex1304.rdi.config.ServiceDescriptor> declareServices​(BotConfig botConfig)
        Declares service descriptors to register to the bot's service container.
        Parameters:
        botConfig - the bot configuration
        Returns:
        a Set containing services to declare