org.wso2.carbon.governance.api.schema
Interface SchemaFilter
public interface SchemaFilter
This interface represents a mechanism to filter that can be used to identify a schema from a
given set of schemas.
Method Summary |
boolean |
matches(Schema schema)
Whether the given schema artifact matches the expected filter criteria. |
matches
boolean matches(Schema schema)
throws GovernanceException
- Whether the given schema artifact matches the expected filter criteria.
- Parameters:
schema
- the schema artifact.
- Returns:
- true if a match was found or false otherwise.
- Throws:
GovernanceException
- if the operation failed.
Copyright © 2013 WSO2 Inc. All Rights Reserved.