Interface IFilter
public interface IFilter
A filter compares the given object to some pattern and returns
true
if the two match and false
otherwise.
This interface may be implemented by clients, however factory methods are available on IExtensionTracker.
This interface can be used without OSGi running.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(IExtensionPoint target) Returntrue
if the given object matches the criteria for this filter.
-
Method Details
-
matches
Returntrue
if the given object matches the criteria for this filter.- Parameters:
target
- the object to match- Returns:
true
if the target matches this filter andfalse
otherwise
-