Package org.sterl.pmw
Class AbstractWorkflowService<RegistryType>
java.lang.Object
org.sterl.pmw.AbstractWorkflowService<RegistryType>
- All Implemented Interfaces:
WorkflowService<RegistryType>
- Direct Known Subclasses:
PersistentWorkflowService
public abstract class AbstractWorkflowService<RegistryType>
extends Object
implements WorkflowService<RegistryType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClear all running and registered workflows, mainly used in testsexecute(String workflowName, Serializable state) execute(String workflowName, Serializable state, Duration delay) <T extends Serializable>
WorkflowId<T extends Serializable>
WorkflowIdintCount of known workflowsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sterl.pmw.WorkflowService
cancel, execute, register, status
-
Field Details
-
workflowRepository
-
-
Constructor Details
-
AbstractWorkflowService
public AbstractWorkflowService()
-
-
Method Details
-
execute
- Specified by:
executein interfaceWorkflowService<RegistryType>
-
execute
- Specified by:
executein interfaceWorkflowService<RegistryType>
-
execute
- Specified by:
executein interfaceWorkflowService<RegistryType>
-
execute
- Specified by:
executein interfaceWorkflowService<RegistryType>
-
execute
- Specified by:
executein interfaceWorkflowService<RegistryType>
-
clearAllWorkflows
public void clearAllWorkflows()Description copied from interface:WorkflowServiceClear all running and registered workflows, mainly used in tests- Specified by:
clearAllWorkflowsin interfaceWorkflowService<RegistryType>
-
workflowCount
public int workflowCount()Description copied from interface:WorkflowServiceCount of known workflows- Specified by:
workflowCountin interfaceWorkflowService<RegistryType>
-
listWorkflows
- Specified by:
listWorkflowsin interfaceWorkflowService<RegistryType>
-