public interface ProcessEngine
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(String operationId)
Cancel the execution of the current step
Send message to the distributor to cancel the execution of the current step
|
boolean |
pause(String operationId)
Pause the execution of the current step
Send message to the distributor to cancel the execution of the current step
|
void |
setCallback(IEventsProcessEngine callback)
Set the state machine where the ProcessEngine return response on complete or on error
|
void |
start(ProcessStep step,
WorkerParameters workerParameters,
Map<String,String> params,
PauseRecover pauseRecover)
Start the execution of the given step
|
void setCallback(IEventsProcessEngine callback)
callback - void start(ProcessStep step, WorkerParameters workerParameters, Map<String,String> params, PauseRecover pauseRecover) throws ProcessingEngineException
step - the ProcessStep objectworkerParameters - the worker parametersparams - other parameterspauseRecover - prevent recover from pause actionProcessingEngineException - thrown if step could not be startedboolean pause(String operationId)
operationId - the operation identifierboolean cancel(String operationId)
operationId - the operation identifierCopyright © 2018 Vitam. All rights reserved.