org.wso2.carbon.governance.api.sla
Interface SLAFilter


public interface SLAFilter

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


Method Summary
 boolean matches(SLA sla)
          Whether the given sla artifact matches the expected filter criteria.
 

Method Detail

matches

boolean matches(SLA sla)
                throws GovernanceException
Whether the given sla artifact matches the expected filter criteria.

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


Copyright © 2012 WSO2 Inc. All Rights Reserved.