org.mule.test.filters
Class FilterCounter
java.lang.Object
org.mule.test.filters.FilterCounter
- All Implemented Interfaces:
- Filter
public class FilterCounter
- extends Object
- implements Filter
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 |
counter
public static AtomicInteger counter
FilterCounter
public FilterCounter()
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.