CVPlugin class basics
This class must be included in one of the JAR files of the
lib/
subdirectory. All classes within the JAR
collection are available by default through the plugin class loader.
If no such class exists, and if there is only one component within the plugin, the framework will use metadata associated with this unique component.
The name of the CVPlugin-derived class is not important. There should be at most one CVPlugin-derived class in the classes collection.
/** My plugin. **/ @CVPluginDescription("My Wonderful Plugin") @CVPluginVersion("1.0") @CVPluginCopyright("Copyright Wonders & Co., All Rights Reserved") @CVPluginAuthor("Wonders & Co.") public class Plugin extends CVPlugin { protected final File installDirectory; /** Default constructor. **/ public Plugin(final String name, final File installDirectory) { super(name, installDirectory); this.installDirectory = installDirectory; // Optionally, define the plugin initialization code here: } }