org.mule.transaction.constraints
Class BatchConstraint
java.lang.Object
org.mule.transaction.constraints.ConstraintFilter
org.mule.transaction.constraints.BatchConstraint
- All Implemented Interfaces:
- java.lang.Cloneable, UMOFilter
- public class BatchConstraint
- extends ConstraintFilter
BatchConstraint
is a filter that counts on every execution and returns
true when the batch size value equals the execution count.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchConstraint
public BatchConstraint()
accept
public boolean accept(UMOEvent event)
- Overrides:
accept
in class ConstraintFilter
getBatchSize
public int getBatchSize()
setBatchSize
public void setBatchSize(int batchSize)
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Overrides:
clone
in class ConstraintFilter
- Throws:
java.lang.CloneNotSupportedException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.