org.java.plugin.registry
Interface PluginFragment
- All Superinterfaces:
- Documentable<PluginFragment>, Identity, UniqueIdentity
- All Known Implementing Classes:
- MockPluginFragment
public interface PluginFragment
- extends UniqueIdentity, Documentable<PluginFragment>
Interface to get access to main information about plug-in fragment. This
does not include information about libraries, extensions and extension
points, defined in this fragment, such information is available as part of
plug-in, to which this fragment contributes.
Plug-in fragment UID is a combination of plug-in fragment ID and version
identifier that is unique within whole set of registered plug-ins and
fragments.
- Version:
- $Id$
Methods inherited from interface org.java.plugin.registry.Identity |
getId |
getVendor
java.lang.String getVendor()
- Returns:
- vendor as specified in manifest file or empty string
getVersion
Version getVersion()
- Returns:
- plug-in fragment version identifier as specified in manifest file
getPluginId
java.lang.String getPluginId()
- Returns:
- ID of plug-in to which this fragment may contribute
getPluginVersion
Version getPluginVersion()
- Returns:
- version identifier of plug-in to which this fragment may
contribute or
null
if no version specified in
manifest
getRegistry
PluginRegistry getRegistry()
- Returns:
- plug-ins registry
matches
boolean matches(PluginDescriptor descr)
- Checks is this fragment may contribute to given plug-in.
- Parameters:
descr
- plug-in descriptor
- Returns:
true
if this fragment may contribute to given
plug-in
getMatchingRule
MatchingRule getMatchingRule()
- Returns:
- the match rule as it specified in manifest
getLocation
java.net.URL getLocation()
- Returns:
- location from which this fragment was registered
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.