public interface IEventsProcessEngine
Modifier and Type | Method and Description |
---|---|
void |
onComplete(ItemStatus itemStatus,
WorkerParameters workerParameters)
The ProcessEngine callback on complete step (for any status code)
|
void |
onError(Throwable throwable,
WorkerParameters workerParameters)
The ProcessEngine callback on system error occurred
|
void |
onPauseOrCancel(PauseOrCancelAction pauseOrCancelAction,
WorkerParameters workerParameters)
The ProcessEngine callback onPauseOrCancel when the step is paused or cancelled
|
void |
onUpdate(StatusCode statusCode)
Update the current step status code
|
void |
onUpdate(String messageIdentifier,
String prodService) |
void onUpdate(StatusCode statusCode)
statusCode
- void onUpdate(String messageIdentifier, String prodService)
messageIdentifier
- prodService
- void onComplete(ItemStatus itemStatus, WorkerParameters workerParameters)
itemStatus
- workerParameters
- void onPauseOrCancel(PauseOrCancelAction pauseOrCancelAction, WorkerParameters workerParameters)
pauseOrCancelAction
- workerParameters
- void onError(Throwable throwable, WorkerParameters workerParameters)
throwable
- workerParameters
- Copyright © 2018 Vitam. All rights reserved.