Interface PluginBootstrap


public interface PluginBootstrap
Configures and creates a plugin.
  • Method Summary

    Modifier and Type Method Description
    reactor.core.publisher.Mono<PropertyReader> initPluginProperties()
    Initializes the plugin properties.
    reactor.core.publisher.Mono<Plugin> setup​(Bot bot, PropertyReader pluginProperties)
    Creates a Plugin derived from the given bot and properties.
  • Method Details

    • setup

      reactor.core.publisher.Mono<Plugin> setup​(Bot bot, PropertyReader pluginProperties)
      Creates a Plugin derived from the given bot and properties.
      Parameters:
      bot - the bot instance
      pluginProperties - the plugin properties
      Returns:
      the configured Plugin
    • initPluginProperties

      reactor.core.publisher.Mono<PropertyReader> initPluginProperties()
      Initializes the plugin properties.
      Returns:
      the plugin properties