From 437100d4cb7ffd44f4a35e0cfd33c2c5fa5fc806 Mon Sep 17 00:00:00 2001 From: Daniel Huber Date: Thu, 18 Jul 2019 17:17:13 +0200 Subject: [PATCH] Remove pluggable, not used any more after plugin structure rework --- .../chatoverflow/api/plugin/Pluggable.java | 56 ------------------- 1 file changed, 56 deletions(-) delete mode 100644 src/main/java/org/codeoverflow/chatoverflow/api/plugin/Pluggable.java diff --git a/src/main/java/org/codeoverflow/chatoverflow/api/plugin/Pluggable.java b/src/main/java/org/codeoverflow/chatoverflow/api/plugin/Pluggable.java deleted file mode 100644 index 5f0897f..0000000 --- a/src/main/java/org/codeoverflow/chatoverflow/api/plugin/Pluggable.java +++ /dev/null @@ -1,56 +0,0 @@ -package org.codeoverflow.chatoverflow.api.plugin; - -/** - * Pluggable is the entry point for chat overflow plugins. Should NEVER be changed! - * DO NOT UPDATE, REMOVE OR ADD ANYTHING TO THIS INTERFACE WITHOUT KNOWING WHAT YOU DOING! - * This interface is only there to provide some information about your plugin (most important: the api version). - */ -public interface Pluggable { - - /** - * Returns the name of the plugin. - * - * @return the display name of the plugin - */ - String getName(); - - /** - * Returns the author name of the plugin. - * - * @return the real name or a alias of the author - */ - String getAuthor(); - - /** - * Returns a description of the plugin. - * - * @return a simple description of the service - */ - String getDescription(); - - /** - * Returns the newest major version of the api, where the plugin was successfully tested! - * - * @return a version number - */ - int getMajorAPIVersion(); - - /** - * Returns the newest minor version of the api, where the plugin was successfully tested! - * - * @return a version number - */ - int getMinorAPIVersion(); - - /** - * Returns the real chat overflow plugin. Should only be used after testing the api version number! - * If the plugin is not up-to-date, it might not be loaded due to possible reflection errors. Please - * do ONLY use the Plugin class to define your own chat overflow plugin logic! - * Create a new instance HERE every time! - * - * @param manager the manager implementation of the framework - * @return the plugin implementation of the plugin project, ready to get started! - */ - Plugin createNewPluginInstance(PluginManager manager); - -}