|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A prerequisite entry declared by a plug-in. The declaration causes classes defined by the prerequisite plug-in to be visible to the plug-in that declared the dependency.
This interface is not intended to be implemented by developers.
IPluginDescriptor.getPluginPrerequisites()
Method Summary | |
PluginVersionIdentifier |
getResolvedVersionIdentifier()
Returns the actual version identifier that is used at runtime to resolve this prerequisite dependency, or null, if the dependency is not resolved. |
String |
getUniqueIdentifier()
Returns the plug-in identifier of the prerequisite plug-in. |
PluginVersionIdentifier |
getVersionIdentifier()
Returns the version identifier of the prerequisite plug-in, or null if none. |
boolean |
isExported()
Indicates whether this prerequisite plug-in is further exposed to any plug-ins that declare a dependency on this plug-in. |
boolean |
isMatchedAsCompatible()
Indicates that this plug-in prerequisite can be resolved against a configured plug-in with a compatible identifier. |
boolean |
isMatchedAsEquivalent()
Indicates that this plug-in prerequisite can only be resolved against a configured plug-in with an equivalent plug-in identifier. |
boolean |
isMatchedAsExact()
Indicates that this plug-in prerequisite can only be resolved against a configured plug-in with exactly the same plug-in identifier. |
boolean |
isMatchedAsGreaterOrEqual()
Indicates that this plug-in prerequisite can be resolved against a configured plug-in with an identifier that is greater than or equal to it. |
boolean |
isMatchedAsPerfect()
Indicates that this plug-in prerequisite can only be resolved against a configured plug-in with a plug-in identifier that is perfectly equal. |
boolean |
isOptional()
Indicates whether this plug-in prerequisite is optional. |
Method Detail |
public PluginVersionIdentifier getResolvedVersionIdentifier()
public String getUniqueIdentifier()
public PluginVersionIdentifier getVersionIdentifier()
null
if none.
null
if
none was specifiedpublic boolean isExported()
true
if this prerequisite plug-in is exposed,
false
otherwisepublic boolean isMatchedAsGreaterOrEqual()
true
if greater or equal match is allowed,
false
otherwise.public boolean isMatchedAsCompatible()
true
if compatible match is allowed,
false
if exact match is required.public boolean isMatchedAsEquivalent()
true
if only equivalent identifier match
satisfies this dependency, false
otherwise.public boolean isMatchedAsPerfect()
true
if only perfectly equal
identifier match satisfies this dependency,
false
otherwise.public boolean isMatchedAsExact()
true
if only exact identifier match
satisfies this dependency, false
if compatible
plug-in will satisfy this dependency.public boolean isOptional()
true
if this prerequisite is optional, false
otherwise
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |