|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Included Feature reference. A reference to a included feature on a particular update site.
Clients may implement this interface. However, in most cases clients should directly instantiate or subclass the provided implementation of this interface.
FeatureReference
Method Summary | |
int |
getMatch()
Returns the matching rule for this included feature. |
String |
getName()
Returns the name of the feature reference. |
int |
getSearchLocation()
Returns the search location for this included feature. |
boolean |
isOptional()
Returns true if the feature is optional, false otherwise. |
Methods inherited from interface org.eclipse.update.core.IFeatureReference |
addCategory, getCategories, getFeature, getFeature, getSite, getURL, getVersionedIdentifier, setSite, setURL |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
Method Detail |
public boolean isOptional()
true
if the feature is optional, false
otherwise.
isOptional
in interface IFeatureReference
public String getName()
getName
in interface IFeatureReference
public int getMatch()
RULE_PERFECT
getMatch
in interface IFeatureReference
IUpdateConstants.RULE_PERFECT
,
IUpdateConstants.RULE_EQUIVALENT
,
IUpdateConstants.RULE_COMPATIBLE
,
IUpdateConstants.RULE_GREATER_OR_EQUAL
public int getSearchLocation()
SEARCH_ROOT
getSearchLocation
in interface IFeatureReference
IFeatureReference#SEARCH_ROOT
,
IFeatureReference#SEARCH_SELF
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |