public interface RollbackHandler<T extends ProcessContext<?>>
| Modifier and Type | Method and Description |
|---|---|
void |
rollbackState(Activity<T> activity,
T processContext,
Map<String,Object> stateConfiguration)
Rollback the state of the activity to what it was prior to execution.
|
void rollbackState(Activity<T> activity, T processContext, Map<String,Object> stateConfiguration) throws RollbackFailureException
activity - The Activity instance whose state is being revertedprocessContext - The ProcessContext for the workflowstateConfiguration - Any user-defined state configuration associated with the RollbackHandlerRollbackFailureException - if there is a failure during the execution of the rollbackCopyright © 2024. All rights reserved.