Coverage Report - org.mule.api.routing.Matchable
 
Classes in this File Line Coverage Branch Coverage Complexity
Matchable
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.api.routing;
 8  
 
 9  
 import org.mule.api.MuleException;
 10  
 import org.mule.api.MuleMessage;
 11  
 
 12  
 /**
 13  
  * Enables an artifact to be matched for routing before actually routing to it
 14  
  */
 15  
 public interface Matchable
 16  
 {
 17  
     /**
 18  
      * Determines if the event should be processed
 19  
      *
 20  
      * @param message the current message to evaluate
 21  
      * @return true if the event should be processed by this router
 22  
      * @throws MuleException if the event cannot be evaluated
 23  
      */
 24  
     boolean isMatch(MuleMessage message) throws MuleException;
 25  
 }