public class BaseBatchProcessingListener extends Object implements BatchProcessingListener
BatchProcessingListener which implements all the
methods with no-op implementations. Extends this class when coding your own listener so that you're not forced to override
methods you don't actually need and have a smoother backwards compatibility experience| Constructor and Description |
|---|
BaseBatchProcessingListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onExecutableStateTransition(BatchJobInstanceAdapter jobInstance)
Notifies that the given
BatchJobInstanceAdapter transitioned into an executable state |
void |
onJobFinished(BatchJobInstanceAdapter jobInstance)
Notifies that the given
BatchJobInstanceAdapter has been finished |
void |
onJobInstanceStateChange(BatchJobInstanceAdapter jobInstance)
Notifies that the given
BatchJobInstanceAdapter transitioned into a different BatchJobInstanceStatus |
void |
onJobStopped(BatchJobInstanceAdapter jobInstance)
Notifies that the given
BatchJobInstanceAdapter has been stopped before completely finishing |
void |
onSteppingQueueDispatch(BatchJobInstanceAdapter jobInstance,
Collection<Record> records)
Notifies that the given
Records were queued into the stepping queue of the given BatchJobInstanceAdapter |
public void onSteppingQueueDispatch(BatchJobInstanceAdapter jobInstance, Collection<Record> records)
Records were queued into the stepping queue of the given BatchJobInstanceAdapteronSteppingQueueDispatch in interface BatchProcessingListenerjobInstance - a BatchJobInstanceAdapterrecords - a List of Recordpublic void onJobInstanceStateChange(BatchJobInstanceAdapter jobInstance)
BatchJobInstanceAdapter transitioned into a different BatchJobInstanceStatusonJobInstanceStateChange in interface BatchProcessingListenerjobInstance - a BatchJobInstanceAdapterpublic void onExecutableStateTransition(BatchJobInstanceAdapter jobInstance)
BatchJobInstanceAdapter transitioned into an executable stateonExecutableStateTransition in interface BatchProcessingListenerjobInstance - a BatchJobInstanceAdapterpublic void onJobStopped(BatchJobInstanceAdapter jobInstance)
BatchJobInstanceAdapter has been stopped before completely finishingonJobStopped in interface BatchProcessingListenerjobInstance - a BatchJobInstanceAdapterpublic void onJobFinished(BatchJobInstanceAdapter jobInstance)
BatchJobInstanceAdapter has been finishedonJobFinished in interface BatchProcessingListenerjobInstance - a BatchJobInstanceAdapterCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.