Package net.regsirius06.engine.tasks
Class InitPlugins
java.lang.Object
net.regsirius06.engine.tasks.InitPlugins
A utility class for initializing plugin data files required for loading plugins in the application.
The main(String[]) method is the entry point for creating the necessary files
for plugin data based on the provided root directory.
If a root directory is provided as an argument, it will be used to create the plugin data files;
otherwise, the default directory is used.
This class leverages PluginDataProvider to handle the creation of required data files
that enable the application to load and manage plugins.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InitPlugins
public InitPlugins()
-
-
Method Details
-
main
The main method for creating plugin data files required for the application. The method checks if a root directory is provided as an argument. If so, the data files will be created in that directory; otherwise, the default location will be used.- Parameters:
args- command-line arguments where: - args[0] is the optional root directory for storing plugin data files.- Throws:
RuntimeException- if there are issues creating the data files.
-