Package com.highdeal.iec.action
Interface JavaTaskIterator
public interface JavaTaskIterator
When your customized
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.
- See Also:
-
Method Summary
-
Method Details
-
hasNext
- Parameters:
collection- Thedata collectionthat contains the parameters passed to theJavaTask.execute(DataCollection)- Returns:
trueto invoke theJavaTask.execute(DataCollection)andfalseotherwise.- Throws:
ExecException- is thrown when your conditions of end are not correct
-