SAP CC 3.0 IEC API

com.highdeal.iec.action
Interface JavaTaskIterator


public interface JavaTaskIterator

When your JavaTask implements this interface, it makes loop on the hasNext(DataCollection).
While the the invocation of the method hasNext(DataCollection) returns true, the JavaTask.execute(DataCollection) is invoked with the same collection.


Method Summary
 boolean hasNext(DataCollection collection)
          Return true to invoke the JavaTask.execute(DataCollection) and false otherwise.
 

Method Detail

hasNext

boolean hasNext(DataCollection collection)
                throws ExecException
Return true to invoke the JavaTask.execute(DataCollection) and false otherwise.

Parameters:
collection - the DataCollection contains the parameters passed to the JavaTask.execute(DataCollection)
Returns:
true to invoke the JavaTask.execute(DataCollection) and false otherwise.
Throws:
ExecException - the exception thrown when your conditions of end aren't corrects

SAP CC 3.0 IEC API

(c) Copyright 2011 SAP AG. All rights reserved. SAP Convergent Charging 3.0