Package org.java.plugin.registry
Interface PluginElement<T extends PluginElement<T>>
-
- Type Parameters:
T- type of plug-in element
- All Superinterfaces:
Documentable<T>,Identity
- All Known Subinterfaces:
Extension,Extension.Parameter,ExtensionPoint,ExtensionPoint.ParameterDefinition,Library,PluginAttribute,PluginPrerequisite
- All Known Implementing Classes:
MockExtension,MockExtensionPoint,MockLibrary,MockParameter,MockParameterDefinition,MockPluginAttribute,MockPluginElement,MockPluginPrerequisite
public interface PluginElement<T extends PluginElement<T>> extends Identity, Documentable<T>
This interface abstracts a plug-in element - a thing that is declared in plug-in or plug-in fragment descriptor.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluginDescriptorgetDeclaringPluginDescriptor()Returns plug-in descriptor, this element belongs to.PluginFragmentgetDeclaringPluginFragment()Returns descriptor of plug-in fragment that contributes this element.-
Methods inherited from interface org.java.plugin.registry.Documentable
getDocsPath, getDocumentation
-
-
-
-
Method Detail
-
getDeclaringPluginDescriptor
PluginDescriptor getDeclaringPluginDescriptor()
Returns plug-in descriptor, this element belongs to. This method should never returnnull.- Returns:
- plug-in descriptor, this element belongs to
-
getDeclaringPluginFragment
PluginFragment getDeclaringPluginFragment()
Returns descriptor of plug-in fragment that contributes this element. This method may returnnull, if element is contributed by plug-in directly.- Returns:
- descriptor of plug-in fragment that contributes this element
-
-