org.eclipse.update.search
Class EnvironmentFilter
java.lang.Object
org.eclipse.update.search.BaseFilter
org.eclipse.update.search.EnvironmentFilter
-
All Implemented Interfaces:
-
IUpdateSearchFilter
Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This
provisional API was never promoted to stable API, and may be removed from a future release of the platform.
-
public class EnvironmentFilter
- extends
BaseFilter
This class can be added to the update search request
to filter out features that do not match the current
environment settings.
Note: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
-
Since:
- 3.0
-
See Also:
-
UpdateSearchRequest
,
IUpdateSearchFilter
Method Summary
|
boolean
|
accept
(
IFeature match)
Deprecated. Tests a feature according to this filter's criteria. |
boolean
|
accept
(
IFeatureReference match)
Deprecated. Tests a feature reference according to this filter's criteria. |
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
EnvironmentFilter
public EnvironmentFilter()
-
Deprecated.
accept
public boolean accept(
IFeature match)
-
Deprecated.
-
Description copied from interface:
IUpdateSearchFilter
- Tests a feature according to this filter's criteria.
-
-
Specified by:
-
accept
in interface
IUpdateSearchFilter
-
Overrides:
-
accept
in class
BaseFilter
-
-
Parameters:
-
match
- the feature to test
-
Returns:
-
true if the feature has been accepted, false otherwise.
accept
public boolean accept(
IFeatureReference match)
-
Deprecated.
-
Description copied from interface:
IUpdateSearchFilter
- Tests a feature reference according to this filter's criteria.
This is a prefilter that allows rejecting a feature before a potentially lengthy download.
-
-
Specified by:
-
accept
in interface
IUpdateSearchFilter
-
Overrides:
-
accept
in class
BaseFilter
-
-
Parameters:
-
match
- the feature reference to test
-
Returns:
-
true if the feature reference has been accepted, false otherwise.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.