Class RemoteServiceFilterImpl

    • Constructor Detail

      • RemoteServiceFilterImpl

        public RemoteServiceFilterImpl​(String createFilter)
                                throws InvalidSyntaxException
        Parameters:
        createFilter - filter as string
        Throws:
        InvalidSyntaxException - thrown if given String filter cannot be converted into a valid filter
    • Method Detail

      • match

        public boolean match​(IRemoteServiceReference reference)
        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 interface IRemoteFilter
        Overrides:
        match in class RemoteFilterImpl
        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.