|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.di.core.plugins.BasePluginType
public abstract class BasePluginType
| Constructor Summary | |
|---|---|
BasePluginType(Class<? extends Annotation> pluginType)
|
|
BasePluginType(Class<? extends Annotation> pluginType,
String id,
String name)
|
|
| Method Summary | |
|---|---|
void |
addObjectType(Class<?> clz,
String xmlNodeName)
Register an additional class type to be managed by the plugin system. |
Map<Class<?>,String> |
getAdditionalRuntimeObjectTypes()
|
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 |
registerCustom(Class<?> clazz,
String category,
String id,
String name,
String description,
String image)
This method allows for custom registration of plugins that are on the main classpath. |
void |
searchPlugins()
Let's put in code here to search for the step plugins.. |
void |
setId(String id)
|
void |
setName(String name)
|
void |
setPluginFolders(List<PluginFolderInterface> pluginFolders)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasePluginType(Class<? extends Annotation> pluginType)
public BasePluginType(Class<? extends Annotation> pluginType,
String id,
String name)
id - The plugin type IDname - the name of the plugin| Method Detail |
|---|
public Map<Class<?>,String> getAdditionalRuntimeObjectTypes()
public void addObjectType(Class<?> clz,
String xmlNodeName)
PluginTypeInterface
addObjectType in interface PluginTypeInterfaceclz - category class, usually an interfacexmlNodeName - xml node to search for a class namepublic String toString()
toString in class Object
public void searchPlugins()
throws KettlePluginException
searchPlugins in interface PluginTypeInterfaceKettlePluginExceptionpublic String getId()
getId in interface PluginTypeInterfacepublic void setId(String id)
id - the id to setpublic String getName()
getName in interface PluginTypeInterfacepublic void setName(String name)
name - the name to setpublic List<PluginFolderInterface> getPluginFolders()
getPluginFolders in interface PluginTypeInterfacepublic void setPluginFolders(List<PluginFolderInterface> pluginFolders)
pluginFolders - the pluginFolders to set
public void registerCustom(Class<?> clazz,
String category,
String id,
String name,
String description,
String image)
throws KettlePluginException
clazz - the plugin implementation to registercategory - the category of the pluginid - the id for the pluginname - the name for the plugindescription - the description for the pluginimage - the image for the plugin
KettlePluginException
public void handlePluginAnnotation(Class<?> clazz,
Annotation annotation,
List<String> libraries,
boolean nativePluginType,
URL pluginFolder)
throws KettlePluginException
handlePluginAnnotation in interface PluginTypeInterfaceclazz - 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 | |||||||||