public abstract class ServerPackCreatorAddon extends org.pf4j.Plugin implements BaseInformation
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.logging.log4j.Logger |
LOG_ADDONS |
| Constructor and Description |
|---|
ServerPackCreatorAddon(org.pf4j.PluginWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Get the author of this addon.
|
java.lang.String |
getDescription()
Get the description of this addon.
|
java.lang.String |
getId() |
java.lang.String |
getName()
Get the name of this addon.
|
java.lang.String |
getVersion()
Get the version of this addon.
|
void |
start()
This method is called by the application when the plugin is started.
|
void |
stop()
This method is called by the application when the plugin is stopped.
|
public ServerPackCreatorAddon(org.pf4j.PluginWrapper wrapper)
throws java.io.IOException
java.io.IOExceptionpublic void start()
throws org.pf4j.PluginRuntimeException
PluginManager.startPlugin(String).super.start() first.start in class org.pf4j.Pluginorg.pf4j.PluginRuntimeException - if something goes wrong.public void stop()
throws org.pf4j.PluginRuntimeException
PluginManager.stopPlugin(String).super.start() first.stop in class org.pf4j.Pluginorg.pf4j.PluginRuntimeException - if something goes wrong.public java.lang.String getId()
public java.lang.String getName()
BaseInformationgetName in interface BaseInformationpublic java.lang.String getDescription()
BaseInformationgetDescription in interface BaseInformationpublic java.lang.String getAuthor()
BaseInformationgetAuthor in interface BaseInformationpublic java.lang.String getVersion()
BaseInformationgetVersion in interface BaseInformation