Class ExtensionPointFilter
java.lang.Object
net.sf.basedb.util.extensions.xml.ExtensionPointFilter
Filter implementation that can be used to match extension
points and extensions based on the ID of the extension point.
Extensions points will pass the filter if their ID matches the given pattern.
Extensions will pass the filter if the ID of the extension point they are extending matches the given pattern.
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2016-11-14 13:43:01 +0100 (må, 14 nov 2016) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionExtensionPointFilter
(String pattern) Create a new filter based on the given pattern.ExtensionPointFilter
(Pattern pattern) Create a new filter based on the given pattern. -
Method Summary
-
Field Details
-
log
-
pattern
-
-
Constructor Details
-
ExtensionPointFilter
Create a new filter based on the given pattern.- Parameters:
pattern
- A pattern, null is not allowed
-
ExtensionPointFilter
Create a new filter based on the given pattern.- Parameters:
pattern
- A pattern that will be used inPattern.compile(String)
, null is not allowed
-
-
Method Details
-
evaluate
Description copied from interface:Filter
Evaluate if the given object should pass the filter or not. -
toString
-