org.java.plugin.registry
Interface PluginPrerequisite
- All Superinterfaces:
- Documentable<PluginPrerequisite>, Identity, PluginElement<PluginPrerequisite>, UniqueIdentity
- All Known Implementing Classes:
- MockPluginPrerequisite
public interface PluginPrerequisite
- extends UniqueIdentity, PluginElement<PluginPrerequisite>
This interface abstracts inter plug-ins dependencies.
Plug-in prerequisite UID is a combination of declaring plug-in ID and
prerequisite ID (may be auto-generated) that is unique within whole set of
registered plug-ins.
- Version:
- $Id$
Methods inherited from interface org.java.plugin.registry.Identity |
getId |
Methods inherited from interface org.java.plugin.registry.Identity |
getId |
getPluginId
java.lang.String getPluginId()
- Returns:
- ID of plug-in, this plug-in depends on
getPluginVersion
Version getPluginVersion()
- Returns:
- desired plug-in version identifier or
null
if not specified
isExported
boolean isExported()
- Returns:
true
if this prerequisite is propagated
on depending plug-ins
isOptional
boolean isOptional()
- Returns:
true
if this prerequisite is not required
isReverseLookup
boolean isReverseLookup()
- Returns:
true
if this prerequisite allows reverse look up of
classes in imported plug-in
matches
boolean matches()
- Returns:
true
if this prerequisite is fulfilled
getMatchingRule
MatchingRule getMatchingRule()
- Returns:
- the match rule as it specified in manifest
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.