Eclipse Platform
Release 3.1

org.eclipse.update.search
Interface IUpdateSearchFilter

All Known Implementing Classes:
BaseFilter

public interface IUpdateSearchFilter

Classes that implement this interface can be used to filter the results of the update search.

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

Method Summary
 boolean accept(IFeature match)
          Deprecated. In 3.1 only the accept (IFeatureReference) will be used
 boolean accept(IFeatureReference match)
          Tests a feature reference according to this filter's criteria.
 

Method Detail

accept

public boolean accept(IFeature match)
Deprecated. In 3.1 only the accept (IFeatureReference) will be used

Tests a feature according to this filter's criteria.

Parameters:
match - the feature to test
Returns:
true if the feature has been accepted, false otherwise.

accept

public boolean accept(IFeatureReference match)
Tests a feature reference according to this filter's criteria. This is a prefilter that allows rejecting a feature before a potentially lengthy download.

Parameters:
match - the feature reference to test
Returns:
true if the feature reference has been accepted, false otherwise.

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.