Package org.bonitasoft.engine.work
Interface WorkExecutionCallback
- All Known Implementing Classes:
RetryingWorkExecutorService
public interface WorkExecutionCallback
this a callback called when a work finish.
- Author:
- Baptiste Mesta.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonFailure(WorkDescriptor work, BonitaWork bonitaWork, Map<String, Object> context, Throwable thrown) voidonSuccess(WorkDescriptor workDescriptor)
-
Method Details
-
onSuccess
-
onFailure
void onFailure(WorkDescriptor work, BonitaWork bonitaWork, Map<String, Object> context, Throwable thrown)
-