Package org.apache.nutch.plugin
Class ExtensionPoint
java.lang.Object
org.apache.nutch.plugin.ExtensionPoint
The
ExtensionPoint provide meta information of a extension
point.- Author:
- joa23
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(Extension extension) Install a coresponding extension to this extension point.Returns a array of extensions that lsiten to this extension pointgetId()Returns the unique id of the extension point.getName()Returns the name of the extension point.Returns a path to the xml schema of a extension point.
-
Constructor Details
-
ExtensionPoint
Constructor- Parameters:
pId- unique extension point IdpName- name of the extension pointpSchema- xml schema of the extension point
-
-
Method Details
-
getId
Returns the unique id of the extension point.- Returns:
- String
-
getName
Returns the name of the extension point.- Returns:
- String
-
getSchema
Returns a path to the xml schema of a extension point.- Returns:
- String
-
addExtension
Install a coresponding extension to this extension point.- Parameters:
extension- the newExtensionto install
-
getExtensions
Returns a array of extensions that lsiten to this extension point- Returns:
- Extension[]
-