|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginTypeInterface
This interface describes a plugin type.
It expresses the ID and the name of the plugin type.
Then it also explains what the plugin meta class is called and classes the plugin interface itself.
It also explains us where to load plugins of this type.
Method Summary | |
---|---|
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()
|
Method Detail |
---|
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 use
KettlePluginException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |