org.mule.transaction.constraints
Class BatchConstraint

java.lang.Object
  extended byorg.mule.transaction.constraints.ConstraintFilter
      extended byorg.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.2 $
Author:
Ross Mason

Constructor Summary
BatchConstraint()
           
 
Method Summary
 boolean accept(UMOEvent event)
           
 java.lang.Object clone()
           
 int getBatchSize()
           
 void setBatchSize(int batchSize)
           
 
Methods inherited from class org.mule.transaction.constraints.ConstraintFilter
accept
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BatchConstraint

public BatchConstraint()
Method Detail

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.