org.schmant.plugin
Interface Plugin

All Known Subinterfaces:
EclipseProjectCreatorPlugin, IntelliJModuleCreatorPlugin
All Known Implementing Classes:
EclipseJavaProjectCreatorPlugin, IntelliJJavaModuleCreatorPlugin

public interface Plugin

This is the interface of a generic Schmant plugin.

The TaskPackage registers a task package's plugins when it is enabled. It instantiates the plugin object, which must have a no-arguments constructor, and registers it with the PluginRegistry.

Plugin implementations should be immutable and safe to use concurrently by several threads. Only one plugin instance is used by all clients.

Since:
0.8
Author:
Karl Gustafsson