You are viewing the RapidMiner Developers documentation for version 8.2 - Check here for latest version
Extension Project Folder Structure
The folder structure of the extension project looks like this:
In the section on individualizing settings, you learned how to change the
build.gradle file to make your individual extension.
Statements like the extension name and the groupId are used to create the folder structure of your extension project.
The groupId, for example, is the root path of your Java packages. The extension name is used to name the files of your project. The name of the example extension is
src/main/java contains your Java code, while
src/main/resources contains configurations, documentation and the extension icon.
The following table describes the different generated files in your extension project (replace 'NAME' with the name of your extension):
|PluginInitNAME.java||The Java class PluginInitNAME.java loads the extension into RapidMiner Studio. It contains certain methods that you can specify to add actions (for example, during the extension start-up or before closing the application). When using the extension on your RapidMiner Server, only the method initPlugin() is called.|
|groupsNAME.properties||Specifies operator or data object colors.|
|ioobjectsNAME.xml||Defines IOObjects (data objects), how they are called, their implementation class, and the renderer that renders the data object in the Results perspective.|
|OperatorsNAME.xml||Specifies operators and operator groups, as well as their location in the Operator Tree of the Operators view.|
|parserulesNAME.xml||Automatically updates operator parameters (not frequently used).|
|settingsNAME.xml||Specifies settings in the Preferences dialog.|
|ErrorsNAME.properties|| Stores I18N error messages. You can load an error message in your code with
|GUINAME.properties|| Stores I18N GUI messages. You can load a message in your code with
|OperatorsDocNAME.xml||Contains translations from operator group keys to names as well as operator keys to names.|
|SettingsNAME.properties|| Contains user-friendly setting names and descriptions for setting keys defined in
|UserErrorMessagesNAME.properties|| Contains user error messages for operators. They are displayed, when the code in an operator detects wrong parameter settings or otherwise encounters a problem. For each error name, you must define the properties
|example_operator_key.xml|| Provides an example of operator documentation. The file is placed in the folder
Now, you know how the project is structured. It's time to build your first operator class.