Eclipse Platform
Release 3.1

org.eclipse.update.search
Class BackLevelFilter

java.lang.Object
  extended byorg.eclipse.update.search.BaseFilter
      extended byorg.eclipse.update.search.BackLevelFilter
All Implemented Interfaces:
IUpdateSearchFilter

public class BackLevelFilter
extends BaseFilter

This class can be added to the update search request to filter out features that are back-level (are older or the same as the features already installed).

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

Constructor Summary
BackLevelFilter()
           
 
Method Summary
 boolean accept(IFeatureReference match)
          Tests a feature reference according to this filter's criteria.
 
Methods inherited from class org.eclipse.update.search.BaseFilter
accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackLevelFilter

public BackLevelFilter()
Method Detail

accept

public boolean accept(IFeatureReference match)
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

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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