Interface PluginBootstrap
-
public interface PluginBootstrap
Configures and creates a plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 aPlugin
derived from the given bot and properties.
-
-
-
Method Detail
-
setup
reactor.core.publisher.Mono<Plugin> setup(Bot bot, PropertyReader pluginProperties)
Creates aPlugin
derived from the given bot and properties.- Parameters:
bot
- the bot instancepluginProperties
- the plugin properties- Returns:
- the configured
Plugin
-
initPluginProperties
reactor.core.publisher.Mono<PropertyReader> initPluginProperties()
Initializes the plugin properties.- Returns:
- the plugin properties
-
-