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 TypeMethodDescriptionbooleanmatches(IExtensionPoint target) Returntrueif the given object matches the criteria for this filter.
-
Method Details
-
matches
Returntrueif the given object matches the criteria for this filter.- Parameters:
target- the object to match- Returns:
trueif the target matches this filter andfalseotherwise
-