org.java.plugin.registry
Interface PluginFragment
- All Superinterfaces:
- Documentable, Identity, UniqueIdentity
- public interface PluginFragment
- extends UniqueIdentity, Documentable
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: PluginFragment.java,v 1.2 2005/12/10 13:15:28 ddimon Exp $
Methods inherited from interface org.java.plugin.registry.Identity |
getId |
getVendor
public java.lang.String getVendor()
- Returns:
- vendor as specified in manifest file or empty string
getVersion
public Version getVersion()
- Returns:
- plug-in fragment version identifier as specified in manifest file
getPluginId
public java.lang.String getPluginId()
- Returns:
- ID of plug-in to which this fragment may contribute
getPluginVersion
public Version getPluginVersion()
- Returns:
- version identifier of plug-in to which this fragment may
contribute or
null
if no version specified in
manifest
getRegistry
public PluginRegistry getRegistry()
- Returns:
- plug-ins registry
matches
public 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
getLocation
public java.net.URL getLocation()
- Returns:
- location from which this fragment was registered
Copyright © 2004-2005 Dmitry Olshansky. All Rights Reserved.