Interface IFilterExpression
-
- All Superinterfaces:
Filter
,IExpression
public interface IFilterExpression extends IExpression, Filter
An interface that combines the IExpression with the LDAP filter. The string representation is the LDAP filter syntax.- Since:
- 2.0
-
-
Field Summary
-
Fields inherited from interface org.eclipse.equinox.p2.metadata.expression.IExpression
TYPE_ALL, TYPE_AND, TYPE_ARRAY, TYPE_ASSIGNMENT, TYPE_AT, TYPE_COLLECT, TYPE_CONDITION, TYPE_EQUALS, TYPE_EXISTS, TYPE_FIRST, TYPE_FLATTEN, TYPE_FUNCTION, TYPE_GREATER, TYPE_GREATER_EQUAL, TYPE_INTERSECT, TYPE_LAMBDA, TYPE_LATEST, TYPE_LESS, TYPE_LESS_EQUAL, TYPE_LIMIT, TYPE_LITERAL, TYPE_MATCHES, TYPE_MEMBER, TYPE_NOT, TYPE_NOT_EQUALS, TYPE_OR, TYPE_PARAMETER, TYPE_PIPE, TYPE_SELECT, TYPE_TRAVERSE, TYPE_UNION, TYPE_UNIQUE, TYPE_VARIABLE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
match(Map<String,? extends Object> map)
Filter using aMap
.boolean
matchCase(Map<String,? extends Object> map)
Filter with case sensitivity using aMap
.-
Methods inherited from interface org.osgi.framework.Filter
equals, hashCode, match, match, matchCase, matches, toString
-
Methods inherited from interface org.eclipse.equinox.p2.metadata.expression.IExpression
accept, evaluate, getExpressionType, toLDAPString, toString
-
-
-
-
Method Detail
-
match
boolean match(Map<String,? extends Object> map)
Filter using aMap
. ThisFilter
is executed using the specifiedMap
's keys and values. The keys are case insensitively matched with thisFilter
.- Parameters:
map
- TheMap
whose keys are used in the match.- Returns:
true
if themap
's keys and values match this filter;false
otherwise.- Throws:
IllegalArgumentException
- Ifmap
contains case variants of the same key name.
-
matchCase
boolean matchCase(Map<String,? extends Object> map)
Filter with case sensitivity using aMap
. ThisFilter
is executed using the specifiedMap
's keys and values. The keys are case sensitively matched with thisFilter
.- Parameters:
map
- TheMap
whose keys are used in the match.- Returns:
true
if themap
's keys and values match this filter;false
otherwise.
-
-