public interface JavaTaskIterator
JavaTask implements this interface, it makes loop on the hasNext(DataCollection) method.
While the invocation of the method hasNext(DataCollection) returns true,
the JavaTask.execute(DataCollection) is invoked with the same data collection.
Note
You cannot extend your customized Java task with both this JavaTaskIterator interface and the JavaTaskInitializable interface.
JavaTask,
DataCollection| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext(DataCollection collection)
|
boolean hasNext(DataCollection collection) throws ExecException
collection - The data collection that contains the parameters passed to the JavaTask.execute(DataCollection)true to invoke the JavaTask.execute(DataCollection) and false otherwise.ExecException - is thrown when your conditions of end are not correct