org.mule.test.filters
Class FilterCounter

java.lang.Object
  extended by org.mule.test.filters.FilterCounter
All Implemented Interfaces:
Filter

public class FilterCounter
extends Object
implements Filter


Field Summary
static AtomicInteger counter
           
 
Constructor Summary
FilterCounter()
           
 
Method Summary
 boolean accept(MuleMessage message)
          Increments the counter if it passes the filter
 boolean test(int arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

public static AtomicInteger counter
Constructor Detail

FilterCounter

public FilterCounter()
Method Detail

accept

public boolean accept(MuleMessage message)
Increments the counter if it passes the filter

Specified by:
accept in interface Filter

test

public boolean test(int arg0)


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.