public interface Plugin extends EngineModule
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConfiguration()
Returns a plugin configuration.
|
KnowledgeBase |
getKnowledgeBase()
Returns the knowledge base associated with this plugin.
|
void |
onAfterReload()
After reload callback method.
|
void |
onBeforeReload()
Before reload callback method.
|
void |
onConfigure(Configuration configuration)
A callback method that applies a configuration.
|
void |
onInit()
Initializes the plugin.
|
void |
onShutdown()
On shutdown callback method.
|
void |
onStartup()
On startup callback method.
|
void |
setConfiguration(Configuration configuration,
boolean configure)
Sets a plugin configuration.
|
void |
setKnowledgeBase(KnowledgeBase knowledgeBase)
Sets the knowledge base associated with this plugin.
|
isFailed, isNew, isRunning, isStarting, isStopping, isTerminated, shutdown, startupgetDescription, getLabel, getName, setDescription, setLabel, setNamevoid setConfiguration(Configuration configuration, boolean configure)
configuration - a plugin configuration.configure - whether this configuration should be applied immediately.void onConfigure(Configuration configuration)
configuration - configuration.Configuration getConfiguration()
void onInit()
void onStartup()
void onShutdown()
void onBeforeReload()
void onAfterReload()
KnowledgeBase getKnowledgeBase()
void setKnowledgeBase(KnowledgeBase knowledgeBase)
knowledgeBase - the knowledge base.Copyright © 2016–2021 Softelnet. All rights reserved.