toggle menu
Simple Robot
4.8.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot.plugin
/
AbstractJPlugin
/
Factory
Factory
jvm
abstract
class
Factory
<
P
:
AbstractJPlugin
,
CONF
:
Any
>
(
name
:
String
)
:
PluginFactory
<
P
,
CONF
>
(
source
)
应实现为单例。
Members
Constructors
Factory
Link copied to clipboard
jvm
constructor
(
name
:
String
)
Properties
key
Link copied to clipboard
jvm
open
override
val
key
:
PluginFactory.Key
Functions
create
Link copied to clipboard
jvm
protected
abstract
fun
create
(
context
:
PluginConfigureContext
,
configuration
:
CONF
)
:
P
override
fun
create
(
context
:
PluginConfigureContext
,
configurer
:
ConfigurerFunction
<
CONF
>
)
:
P
create
Config
Link copied to clipboard
jvm
protected
abstract
fun
createConfig
(
)
:
CONF
Inherited functions
create
Link copied to clipboard
jvm
open
fun
create
(
context
:
PluginConfigureContext
)
:
P