org.wso2.carbon.governance.api.processes
Interface ProcessFilter


public interface ProcessFilter

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


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

Method Detail

matches

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

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


Copyright © 2011 WSO2 Inc. All Rights Reserved.