PluginFactoriesConfigurator
class PluginFactoriesConfigurator(configurators: Map<PluginFactory.Key, ConfigurerFunction<Any>> = emptyMap(), factories: Map<PluginFactory.Key, (PluginConfigureContext) -> Plugin> = emptyMap()) : MergeableFactoriesConfigurator<PluginConfigureContext, Plugin, PluginFactory.Key> (source)
用于对 PluginFactory 进行聚合组装的配置器。
Constructors
Link copied to clipboard
constructor(configurators: Map<PluginFactory.Key, ConfigurerFunction<Any>> = emptyMap(), factories: Map<PluginFactory.Key, (PluginConfigureContext) -> Plugin> = emptyMap())
Inherited functions
Link copied to clipboard
fun <V1 : Plugin, CONF : Any> add(factory: MergeableFactory<PluginFactory.Key, V1, CONF, PluginConfigureContext>, configurator: ConfigurerFunction<CONF>)
Link copied to clipboard
fun <K1 : PluginFactory.Key, V1 : Plugin, CONF : Any> create(context: PluginConfigureContext, factory: MergeableFactory<K1, V1, CONF, PluginConfigureContext>): V1
Link copied to clipboard
Link copied to clipboard
fun <K1 : PluginFactory.Key, V1 : Plugin, CONF : Any> createOrNull(factory: MergeableFactory<K1, V1, CONF, PluginConfigureContext>, context: PluginConfigureContext): V1?