org.mule.transaction.constraints
Class BatchConstraint
java.lang.Object
org.mule.transaction.constraints.ConstraintFilter
org.mule.transaction.constraints.BatchConstraint
- All Implemented Interfaces:
- Cloneable
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.
BatchConstraint
public BatchConstraint()
accept
public boolean accept(MuleEvent event)
- Overrides:
accept
in class ConstraintFilter
getBatchSize
public int getBatchSize()
setBatchSize
public void setBatchSize(int batchSize)
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class ConstraintFilter
- Throws:
CloneNotSupportedException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.