Interface ProcessEngine
- All Known Implementing Classes:
ProcessEngineImpl
public interface ProcessEngine
Process Engine Interface Provides access to all the services and to manage a workflow of operations.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetStateMachineCallback(IEventsProcessEngine stateMachineCallback) Set the state machine where the ProcessEngine return response on complete or on errorstart(ProcessStep step, WorkerParameters workerParameters) Start the execution of the given step
-
Method Details
-
setStateMachineCallback
Set the state machine where the ProcessEngine return response on complete or on error- Parameters:
stateMachineCallback-
-
start
CompletableFuture<ItemStatus> start(ProcessStep step, WorkerParameters workerParameters) throws ProcessingEngineException Start the execution of the given step- Parameters:
step- the ProcessStep objectworkerParameters- the worker parameters- Returns:
- Throws:
ProcessingEngineException- thrown if step could not be started
-