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
This interface abstracts a plug-in element - a thing that is declared in
plug-in or plug-in fragment descriptor.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionReturns plug-in descriptor, this element belongs to.Returns descriptor of plug-in fragment that contributes this element.Methods inherited from interface org.java.plugin.registry.Documentable
getDocsPath, getDocumentation
-
Method Details
-
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
-