org.apache.nutch.plugin

## Class ExtensionPoint

- java.lang.Object
- - org.apache.nutch.plugin.ExtensionPoint

-     public class ExtensionPoint
      extends java.lang.Object

  The `ExtensionPoint` provide meta information of a extension point.
  Author:
    joa23

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExtensionPoint(java.lang.String pId, java.lang.String pName, java.lang.String pSchema)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addExtension(Extension extension)` Install a coresponding extension to this extension point.
    `Extension[]` | `getExtensions()` Returns a array of extensions that lsiten to this extension point
    `java.lang.String` | `getId()` Returns the unique id of the extension point.
    `java.lang.String` | `getName()` Returns the name of the extension point.
    `java.lang.String` | `getSchema()` Returns a path to the xml schema of a extension point.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ExtensionPoint

          public ExtensionPoint(java.lang.String pId,
                                java.lang.String pName,
                                java.lang.String pSchema)

      Constructor
      Parameters:
        `pId` - unique extension point Id
        `pName` - name of the extension point
        `pSchema` - xml schema of the extension point

  - ### Method Detail

    - #### getId

          public java.lang.String getId()

      Returns the unique id of the extension point.
      Returns:
        String

    - #### getName

          public java.lang.String getName()

      Returns the name of the extension point.
      Returns:
        String

    - #### getSchema

          public java.lang.String getSchema()

      Returns a path to the xml schema of a extension point.
      Returns:
        String

    - #### addExtension

          public void addExtension(Extension extension)

      Install a coresponding extension to this extension point.
      Parameters:
        `extension` -

    - #### getExtensions

          public Extension[] getExtensions()

      Returns a array of extensions that lsiten to this extension point
      Returns:
        Extension[]

Copyright © 2019 The Apache Software Foundation