Package io.manebot.plugin.java
Interface PluginEntry
-
public interface PluginEntry
-
-
Method Summary
Modifier and Type Method Description default voiddestruct(Plugin plugin)Destructs the Plugin's resources.voidinstantiate(Plugin.Builder builder)Instantiates a plugin
-
-
-
Method Detail
-
instantiate
void instantiate(Plugin.Builder builder) throws PluginException
Instantiates a plugin- Parameters:
builder- Plugin builder.- Throws:
PluginException- when there is a problem instantiating a Plugin instance.
-
destruct
default void destruct(Plugin plugin) throws java.lang.UnsupportedOperationException
Destructs the Plugin's resources.- Throws:
java.lang.UnsupportedOperationException- if the plugin doesn't support destructing completely.
-
-