Package org.pentaho.di.core.extension
Class ExtensionPointPluginType
- java.lang.Object
-
- org.pentaho.di.core.plugins.BasePluginType
-
- org.pentaho.di.core.extension.ExtensionPointPluginType
-
- All Implemented Interfaces:
PluginTypeInterface
public class ExtensionPointPluginType extends BasePluginType implements PluginTypeInterface
This class represents the extension point plugin type.- Author:
- matt
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.plugins.BasePluginType
id, log, name, objectTypes, PKG, pluginFolders, registry, searchLibDir
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addExtraClasses(Map<Class<?>,String> classMap, Class<?> clazz, Annotation annotation)
Extract extra classes information from a plugin annotation.protected String
extractCasesUrl(Annotation annotation)
protected String
extractCategory(Annotation annotation)
protected String
extractClassLoaderGroup(Annotation annotation)
protected String
extractDesc(Annotation annotation)
protected String
extractDocumentationUrl(Annotation annotation)
protected String
extractForumUrl(Annotation annotation)
protected String
extractI18nPackageName(Annotation annotation)
protected String
extractID(Annotation annotation)
protected String
extractImageFile(Annotation annotation)
protected String
extractName(Annotation annotation)
protected boolean
extractSeparateClassLoader(Annotation annotation)
protected String
extractSuggestion(Annotation annotation)
static ExtensionPointPluginType
getInstance()
protected String
getMainTag()
This method return parameter for registerPlugins() methodString[]
getNaturalCategoriesOrder()
protected String
getPath()
This method return parameter for registerPlugins() methodprotected String
getSubTag()
This method return parameter for registerPlugins() methodprotected String
getXmlPluginFile()
This method return parameter for registerNatives() methodprotected void
registerXmlPlugins()
-
Methods inherited from class org.pentaho.di.core.plugins.BasePluginType
addObjectType, createUrlClassLoader, findAnnotatedClassFiles, findPluginFiles, findPluginXmlFiles, getAdditionalRuntimeObjectTypes, getAlternativePluginFile, getAlternativeTranslation, getCodedTranslation, getFileInputStreamExternal, getId, getName, getPluginFolders, getPropertyExternal, getResAsStreamExternal, getTagOrAttribute, getTranslation, handlePluginAnnotation, isReturn, populateFolders, readPluginLocale, registerCustom, registerNatives, registerPluginFromXmlResource, registerPluginJars, registerPlugins, searchPlugins, setId, setName, setPluginFolders, setTransverseLibDirs, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.pentaho.di.core.plugins.PluginTypeInterface
addObjectType, getId, getName, getPluginFolders, handlePluginAnnotation, isFragment, searchPlugins
-
-
-
-
Method Detail
-
getInstance
public static ExtensionPointPluginType getInstance()
-
getXmlPluginFile
protected String getXmlPluginFile()
Description copied from class:BasePluginType
This method return parameter for registerNatives() method- Overrides:
getXmlPluginFile
in classBasePluginType
- Returns:
- XML plugin file
-
getMainTag
protected String getMainTag()
Description copied from class:BasePluginType
This method return parameter for registerPlugins() method- Overrides:
getMainTag
in classBasePluginType
- Returns:
- Main XML tag
-
getSubTag
protected String getSubTag()
Description copied from class:BasePluginType
This method return parameter for registerPlugins() method- Overrides:
getSubTag
in classBasePluginType
- Returns:
- Subordinate XML tag
-
getPath
protected String getPath()
Description copied from class:BasePluginType
This method return parameter for registerPlugins() method- Overrides:
getPath
in classBasePluginType
- Returns:
- Path
-
registerXmlPlugins
protected void registerXmlPlugins() throws KettlePluginException
- Specified by:
registerXmlPlugins
in classBasePluginType
- Throws:
KettlePluginException
-
getNaturalCategoriesOrder
public String[] getNaturalCategoriesOrder()
-
extractCategory
protected String extractCategory(Annotation annotation)
- Specified by:
extractCategory
in classBasePluginType
-
extractDesc
protected String extractDesc(Annotation annotation)
- Specified by:
extractDesc
in classBasePluginType
-
extractID
protected String extractID(Annotation annotation)
- Specified by:
extractID
in classBasePluginType
-
extractName
protected String extractName(Annotation annotation)
- Specified by:
extractName
in classBasePluginType
-
extractImageFile
protected String extractImageFile(Annotation annotation)
- Specified by:
extractImageFile
in classBasePluginType
-
extractSeparateClassLoader
protected boolean extractSeparateClassLoader(Annotation annotation)
- Specified by:
extractSeparateClassLoader
in classBasePluginType
-
extractI18nPackageName
protected String extractI18nPackageName(Annotation annotation)
- Specified by:
extractI18nPackageName
in classBasePluginType
-
addExtraClasses
protected void addExtraClasses(Map<Class<?>,String> classMap, Class<?> clazz, Annotation annotation)
Description copied from class:BasePluginType
Extract extra classes information from a plugin annotation.- Specified by:
addExtraClasses
in classBasePluginType
-
extractDocumentationUrl
protected String extractDocumentationUrl(Annotation annotation)
- Specified by:
extractDocumentationUrl
in classBasePluginType
-
extractCasesUrl
protected String extractCasesUrl(Annotation annotation)
- Specified by:
extractCasesUrl
in classBasePluginType
-
extractForumUrl
protected String extractForumUrl(Annotation annotation)
- Specified by:
extractForumUrl
in classBasePluginType
-
extractClassLoaderGroup
protected String extractClassLoaderGroup(Annotation annotation)
- Overrides:
extractClassLoaderGroup
in classBasePluginType
-
extractSuggestion
protected String extractSuggestion(Annotation annotation)
- Specified by:
extractSuggestion
in classBasePluginType
-
-