Package | Description |
---|---|
org.apache.nutch.plugin |
The Nutch
Plugin System. |
Modifier and Type | Method and Description |
---|---|
PluginDescriptor |
Extension.getDescriptor()
return the plugin descriptor.
|
PluginDescriptor |
Plugin.getDescriptor()
Returns the plugin descriptor
|
PluginDescriptor |
PluginRepository.getPluginDescriptor(java.lang.String pPluginId)
Returns the descriptor of one plugin identified by a plugin id.
|
PluginDescriptor[] |
PluginRepository.getPluginDescriptors()
Returns all registed plugin descriptors.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,PluginDescriptor> |
PluginManifestParser.parsePluginFolder(java.lang.String[] pluginFolders)
Returns a list of all found plugin descriptors.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
PluginRepository.getCachedClass(PluginDescriptor pDescriptor,
java.lang.String className) |
Plugin |
PluginRepository.getPluginInstance(PluginDescriptor pDescriptor)
Returns a instance of a plugin.
|
void |
Extension.setDescriptor(PluginDescriptor pDescriptor)
Sets the plugin descriptor and is only used until model creation at system
start up.
|
Constructor and Description |
---|
Extension(PluginDescriptor pDescriptor,
java.lang.String pExtensionPoint,
java.lang.String pId,
java.lang.String pExtensionClass,
Configuration conf,
PluginRepository pluginRepository) |
Plugin(PluginDescriptor pDescriptor,
Configuration conf)
Constructor
|
Copyright © 2019 The Apache Software Foundation