Package org.eclipse.ecf.remoteservice
Class RemoteServiceFilterImpl
java.lang.Object
org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
org.eclipse.ecf.remoteservice.RemoteServiceFilterImpl
- All Implemented Interfaces:
IRemoteFilter,Filter
- Since:
- 8.3
-
Field Summary
Fields inherited from class org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
REMOTE_SERVICEID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(IRemoteServiceReference reference) Filter using a remote service's properties.booleanmatch(ServiceReference reference) Methods inherited from class org.eclipse.ecf.remoteservice.util.RemoteFilterImpl
equals, getObjectClassFilterString, getRsId, hashCode, match, matchCase, matches, toString
-
Constructor Details
-
RemoteServiceFilterImpl
- Parameters:
createFilter- filter as string- Throws:
InvalidSyntaxException- thrown if given String filter cannot be converted into a valid filter
-
-
Method Details
-
match
Description copied from interface:IRemoteFilterFilter 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:
matchin interfaceIRemoteFilter- Overrides:
matchin classRemoteFilterImpl- Parameters:
reference- The reference to the service whose properties are used in the match.- Returns:
trueif the service's properties match this filter;falseotherwise.
-
match
- Specified by:
matchin interfaceFilter- Overrides:
matchin classRemoteFilterImpl
-