@Component(value="blRecordOfferUsageRollbackHandler") public class RecordOfferUsageRollbackHandler extends Object implements RollbackHandler
RecordOfferUsageActivity.RecordOfferUsageActivity}| Modifier and Type | Field and Description |
|---|---|
protected OfferAuditService |
offerAuditService |
| Constructor and Description |
|---|
RecordOfferUsageRollbackHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
rollbackState(Activity<? extends ProcessContext> activity,
ProcessContext processContext,
Map<String,Object> stateConfiguration)
Rollback the state of the activity to what it was prior to execution.
|
protected OfferAuditService offerAuditService
public void rollbackState(Activity<? extends ProcessContext> activity, ProcessContext processContext, Map<String,Object> stateConfiguration) throws RollbackFailureException
RollbackHandlerrollbackState in interface RollbackHandleractivity - 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 © 2014. All Rights Reserved.