org.wso2.carbon.governance.api.common
Interface GovernanceArtifactFilter


public interface GovernanceArtifactFilter

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


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

Method Detail

matches

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

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


Copyright © 2013 WSO2 Inc. All Rights Reserved.