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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `matches(Schema schema)` Whether the given schema artifact matches the expected filter criteria.

- - ### Method Detail

    - #### 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 © 2017 WSO2. All Rights Reserved.