org.wso2.carbon.governance.api.services
Interface ServiceFilter


public interface ServiceFilter

This interface represents a mechanism to filter that can be used to identify a service from a given set of services.


Method Summary
 boolean matches(Service service)
          Whether the given service artifact matches the expected filter criteria.
 

Method Detail

matches

boolean matches(Service service)
                throws GovernanceException
Whether the given service artifact matches the expected filter criteria.

Parameters:
service - the service artifact.
Returns:
true if a match was found or false otherwise.
Throws:
GovernanceException - if the operation failed.


Copyright © 2010 WSO2 Inc. All Rights Reserved.