org.broadleafcommerce.core.workflow.state
Class NullCheckoutRollbackHandler
java.lang.Object
org.broadleafcommerce.core.workflow.state.NullCheckoutRollbackHandler
- All Implemented Interfaces:
- RollbackHandler<CheckoutSeed>
@Component(value="blNullCheckoutRollbackHandler")
public class NullCheckoutRollbackHandler
- extends Object
- implements RollbackHandler<CheckoutSeed>
- Author:
- Elbert Bautista (elbertbautista)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullCheckoutRollbackHandler
public NullCheckoutRollbackHandler()
rollbackState
public void rollbackState(Activity<? extends ProcessContext<CheckoutSeed>> activity,
ProcessContext<CheckoutSeed> processContext,
Map<String,Object> stateConfiguration)
throws RollbackFailureException
- Description copied from interface:
RollbackHandler
- Rollback the state of the activity to what it was prior to execution.
- Specified by:
rollbackState in interface RollbackHandler<CheckoutSeed>
- Parameters:
activity - The Activity instance whose state is being revertedprocessContext - The ProcessContext for the workflowstateConfiguration - Any user-defined state configuration associated with the RollbackHandler
- Throws:
RollbackFailureException - if there is a failure during the execution of the rollback
Copyright © 2013. All Rights Reserved.