diff --git a/sample/src/main/resources/plugin.xml b/sample/src/main/resources/plugin.xml new file mode 100644 index 0000000..b66b436 --- /dev/null +++ b/sample/src/main/resources/plugin.xml @@ -0,0 +1,14 @@ + + sample + sebinside + Sample plugin for testing purposes. + + 3 + 0 + + 0.3.0 + http://codeoverflow.org + https://github.com/codeoverflow-org/chatoverflow-plugins + https://github.com/codeoverflow-org/chatoverflow/issues + EPL-2.0 + \ No newline at end of file diff --git a/sample/src/main/scala/Sample.scala b/sample/src/main/scala/Sample.scala deleted file mode 100644 index fec9ac4..0000000 --- a/sample/src/main/scala/Sample.scala +++ /dev/null @@ -1,49 +0,0 @@ -import org.codeoverflow.chatoverflow.api.plugin.{Pluggable, Plugin, PluginManager} - -class Sample extends Pluggable { - /** - * Returns the name of the plugin. - * - * @return the display name of the plugin - */ - override def getName: String = "sample" - - /** - * Returns the author name of the plugin. - * - * @return the real name or a alias of the author - */ - override def getAuthor: String = "sebinside" - - /** - * Returns a description of the plugin. - * - * @return a simple description of the service - */ - override def getDescription: String = "Sample plugin for testing purposes." - - /** - * Returns the newest major version of the api, where the plugin was successfully tested! - * - * @return a version number - */ - override def getMajorAPIVersion: Int = 3 - - /** - * Returns the newest minor version of the api, where the plugin was successfully tested! - * - * @return a version number - */ - override def getMinorAPIVersion: Int = 0 - - /** - * 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! - */ - override def createNewPluginInstance(manager: PluginManager): Plugin = new SamplePlugin(manager) -} diff --git a/testall/src/main/resources/plugin.xml b/testall/src/main/resources/plugin.xml new file mode 100644 index 0000000..ac7c638 --- /dev/null +++ b/testall/src/main/resources/plugin.xml @@ -0,0 +1,14 @@ + + testall + joblo2213 + A plugin to simplify testing of all services. + + 3 + 0 + + 0.3.0 + http://codeoverflow.org + https://github.com/codeoverflow-org/chatoverflow-plugins + https://github.com/codeoverflow-org/chatoverflow/issues + EPL-2.0 + \ No newline at end of file diff --git a/testall/src/main/scala/testall.scala b/testall/src/main/scala/testall.scala deleted file mode 100644 index 5ab1b97..0000000 --- a/testall/src/main/scala/testall.scala +++ /dev/null @@ -1,17 +0,0 @@ -import org.codeoverflow.chatoverflow.api.plugin.{Pluggable, Plugin, PluginManager} -import org.codeoverflow.plugins.testall.testallPlugin - -class testall extends Pluggable { - - override def getName: String = "testall" - - override def getAuthor: String = "joblo2213" - - override def getDescription: String = "A plugin to simplify testing of all services" - - override def getMajorAPIVersion: Int = 3 - - override def getMinorAPIVersion: Int = 0 - - override def createNewPluginInstance(manager: PluginManager): Plugin = new testallPlugin(manager) -}