public interface ExtensionPoint<T extends CoreAPI>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Extension<T> extension)
Asks this extension point to accept this extension, and take care of
hooking it to the right spot in the hosting application.
|
boolean |
canHandle(Extension<T> extension)
Checks whether this extension point can handle the provided extension or
not.
|
boolean canHandle(Extension<T> extension)
extension - The extension to be checked.void accept(Extension<T> extension) throws PluginException
extension - The extension to be accepted by this extension point.PluginException - If there's any error when handling the extension.Copyright © 2014. All rights reserved.