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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setStateMachineCallback(IEventsProcessEngine stateMachineCallback)
Set the state machine where the ProcessEngine return response on complete or on errorjava.util.concurrent.CompletableFuture<ItemStatus>
start(ProcessStep step, WorkerParameters workerParameters)
Start the execution of the given step
-
-
-
Method Detail
-
setStateMachineCallback
void setStateMachineCallback(IEventsProcessEngine stateMachineCallback)
Set the state machine where the ProcessEngine return response on complete or on error- Parameters:
stateMachineCallback
-
-
start
java.util.concurrent.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
-
-