public interface ExtensionPoint
Extension points are described by a name and a list of optional contribution object classes.
When defined, the contribution object classes are the type of objects accepted by this extension point.
The extension point is also responsible for extracting contribution objects from the extension data, if any.
Modifier and Type | Method and Description |
---|---|
Class<?>[] |
getContributions()
Gets the object types of the contributions accepted by this extension point.
|
String |
getDocumentation()
Gets the comment attached to this extension point if any.
|
String |
getName()
Gets the extension point name.
|
String |
getSuperComponent()
Get the component owning the base extension which this one extends.
|
Class<?>[] getContributions()
String getDocumentation()
String getSuperComponent()
If this method returns null, it means the current extension point is extending another extension point and should forward any contribution to the base extension. The base extension has the same name as this one but it is declared in another component.
Copyright © 2016 Nuxeo SA. All rights reserved.