public interface PluginTypeInterface
Modifier and Type | Method and Description |
---|---|
void |
addObjectType(Class<?> clz,
String xmlNodeName)
Register an additional class type to be managed by the plugin system.
|
String |
getId() |
String |
getName() |
List<PluginFolderInterface> |
getPluginFolders() |
void |
handlePluginAnnotation(Class<?> clazz,
Annotation annotation,
List<String> libraries,
boolean nativePluginType,
URL pluginFolder)
Handle an annotated plugin
|
void |
searchPlugins() |
void addObjectType(Class<?> clz, String xmlNodeName)
clz
- category class, usually an interfacexmlNodeName
- xml node to search for a class nameString getId()
String getName()
List<PluginFolderInterface> getPluginFolders()
void searchPlugins() throws KettlePluginException
KettlePluginException
void handlePluginAnnotation(Class<?> clazz, Annotation annotation, List<String> libraries, boolean nativePluginType, URL pluginFolder) throws KettlePluginException
clazz
- The class to useannotation
- The annotation to get information fromlibraries
- The libraries to addnativePluginType
- Is this a native plugin?pluginFolder
- The plugin folder to useKettlePluginException