org.broadleafcommerce.core.workflow.state.test
Class TestExampleModuleActivity
java.lang.Object
org.broadleafcommerce.core.workflow.BaseActivity<ProcessContext>
org.broadleafcommerce.core.workflow.state.test.TestExampleModuleActivity
- All Implemented Interfaces:
- Activity<ProcessContext>, ModuleActivity, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.core.Ordered
public class TestExampleModuleActivity
- extends BaseActivity<ProcessContext>
- implements ModuleActivity
Pass-through activity to test that a workflow with a ModuleActivity marker interface in it performs correctly
- Author:
- Phillip Verheyden (phillipuniverse)
| Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Methods inherited from class org.broadleafcommerce.core.workflow.BaseActivity |
getAutomaticallyRegisterRollbackHandler, getBeanName, getErrorHandler, getOrder, getRollbackHandler, getRollbackRegion, getStateConfiguration, setAutomaticallyRegisterRollbackHandler, setBeanName, setErrorHandler, setOrder, setRollbackHandler, setRollbackRegion, setStateConfiguration, shouldExecute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestExampleModuleActivity
public TestExampleModuleActivity()
execute
public ProcessContext execute(ProcessContext context)
throws Exception
- Specified by:
execute in interface Activity<ProcessContext>
- Throws:
Exception
getModuleName
public String getModuleName()
- Specified by:
getModuleName in interface ModuleActivity
Copyright © 2013. All Rights Reserved.