public class BatchCompletedHandler extends java.lang.Object implements ImportFinaliser
| Constructor and Description |
|---|
BatchCompletedHandler(ImportEnv env)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
RepeatAction |
consume(ProcessedImport task)
Consumes the message data and returns an indication of whether the same
data should be delivered again.
|
public BatchCompletedHandler(ImportEnv env)
env - the import environment.java.lang.NullPointerException - if the argument is null.public RepeatAction consume(ProcessedImport task)
RepeatConsumerconsume in interface RepeatConsumer<ProcessedImport>task - the data received from the channel.Repeat to indicate the data
should be delivered again or Stop to indicate
no further action should be taken.