Package org.eclipse.pde.core.plugin
Interface IMatchRules
- All Known Subinterfaces:
IPluginImport
,IPluginReference
- All Known Implementing Classes:
PluginReference
public interface IMatchRules
This interface contains constants used throughout the plug-in for plug-in
reference matching. These rules are used to control when determining if two
compared versions are equivalent.
New code should use VersionMatchRule
instead.
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
A match that is compatible with the required version.static final int
A match that is equivalent to the required version.static final int
A match requires that a version is greater or equal to the specified version.static final int
No rule.static final int
An perfect match.static final int
An id match requires that the specified id is a prefix of a candidate id.static final String
Attribute value for the 'compatible' rule.static final String
Attribute value for the 'equivalent' rule.static final String
Attribute value for the 'greater or equal' rulestatic final String[]
Table of rule names that match rule values defined in this interface.static final String
Attribute value for the 'perfect' rule.static final String
Attribute value for the 'prefix' id rule
-
Field Details
-
NONE
static final int NONENo rule.- See Also:
-
EQUIVALENT
static final int EQUIVALENTA match that is equivalent to the required version.- See Also:
-
RULE_EQUIVALENT
Attribute value for the 'equivalent' rule.- See Also:
-
COMPATIBLE
static final int COMPATIBLEA match that is compatible with the required version.- See Also:
-
RULE_COMPATIBLE
Attribute value for the 'compatible' rule.- See Also:
-
PERFECT
static final int PERFECTAn perfect match.- See Also:
-
RULE_PERFECT
Attribute value for the 'perfect' rule.- See Also:
-
GREATER_OR_EQUAL
static final int GREATER_OR_EQUALA match requires that a version is greater or equal to the specified version.- See Also:
-
RULE_GREATER_OR_EQUAL
Attribute value for the 'greater or equal' rule- See Also:
-
PREFIX
static final int PREFIXAn id match requires that the specified id is a prefix of a candidate id.- See Also:
-
RULE_PREFIX
Attribute value for the 'prefix' id rule- See Also:
-
RULE_NAME_TABLE
Table of rule names that match rule values defined in this interface. It can be used directly against the rule values used in plug-in models.
-