Class RemoteFilterImpl
java.lang.Object
org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
org.eclipse.ecf.provider.remoteservice.generic.RemoteFilterImpl
- All Implemented Interfaces:
IRemoteFilter
,Filter
-
Field Summary
Fields inherited from class org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
REMOTE_SERVICEID_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(IRemoteServiceReference reference) Filter using a remote service's properties.boolean
match
(ServiceReference reference) Methods inherited from class org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
equals, getObjectClassFilterString, getRsId, hashCode, match, matchCase, matches, toString
-
Constructor Details
-
RemoteFilterImpl
- Parameters:
createFilter
- filter to use- Throws:
InvalidSyntaxException
- if given createFilter is not a valid filter
-
-
Method Details
-
match
Description copied from interface:IRemoteFilter
Filter using a remote service's properties.The filter is executed using the keys and values of the referenced service's properties. The keys are case insensitively matched with the filter.
- Specified by:
match
in interfaceIRemoteFilter
- Overrides:
match
in classRemoteFilterImpl
- Parameters:
reference
- The reference to the service whose properties are used in the match.- Returns:
true
if the service's properties match this filter;false
otherwise.
-
match
- Specified by:
match
in interfaceFilter
- Overrides:
match
in classRemoteFilterImpl
-