Class PassThroughActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<ProcessContext<? extends Object>>
org.broadleafcommerce.core.workflow.PassThroughActivity
- All Implemented Interfaces:
Activity<ProcessContext<? extends Object>>,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.core.Ordered
A Do-nothing activity used to test proper merge ordering in workflows
- Author:
- Phillip Verheyden (phillipuniverse)
-
Field Summary
Fields inherited from class org.broadleafcommerce.core.workflow.BaseActivity
automaticallyRegisterRollbackHandler, beanName, errorHandler, order, rollbackHandler, rollbackRegion, stateConfigurationFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProcessContext<? extends Object>execute(ProcessContext<? extends Object> context) Called by the encompassing processor to activate the execution of the ActivityMethods inherited from class org.broadleafcommerce.core.workflow.BaseActivity
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute
-
Constructor Details
-
PassThroughActivity
public PassThroughActivity()
-
-
Method Details
-
execute
public ProcessContext<? extends Object> execute(ProcessContext<? extends Object> context) throws Exception Description copied from interface:ActivityCalled by the encompassing processor to activate the execution of the Activity- Parameters:
context- - process context for this workflow- Returns:
- resulting process context
- Throws:
Exception
-