public class SequentialProcessor extends WorkflowProcessor
helper, lifecycleManager
Constructor and Description |
---|
SequentialProcessor(WorkflowLifecycleManager lifecycleManager,
WorkflowInstance instance) |
Modifier and Type | Method and Description |
---|---|
List<WorkflowProcessor> |
getRunnableSubProcessors()
This is the core method of the WorkflowProcessor class in the new Wengine
style workflows.
|
void |
handleSubProcessorMetadata(WorkflowProcessor workflowProcessor) |
compareTo, getExcusedSubProcessorIds, getLifecycleManager, getListeners, getMinReqSuccessfulSubProcessors, getPostConditions, getPreConditions, getRunnableWorkflowProcessors, getSubProcessors, getWorkflowInstance, isAnyCategory, isAnyState, isDone, nextState, notifyChange, passedPostConditions, passedPreConditions, setExcusedSubProcessorIds, setLifecycleManager, setListeners, setMinReqSuccessfulSubProcessors, setPostConditions, setPreConditions, setSubProcessors, setWorkflowInstance
public SequentialProcessor(WorkflowLifecycleManager lifecycleManager, WorkflowInstance instance)
public List<WorkflowProcessor> getRunnableSubProcessors()
WorkflowProcessor
Workflow
, these style WorkflowProcessors
actually require their implementing sub-classes to return the current set
of Runnable sub-processors (which could be tasks, conditions, even
Workflow
s themselves.
The Parallel sub-class returns a list of task or condition processors that
are able to run at a given time. The Sequential sub-class returns only a
single task or condition processor to run, and so forth.getRunnableSubProcessors
in class WorkflowProcessor
public void handleSubProcessorMetadata(WorkflowProcessor workflowProcessor)
handleSubProcessorMetadata
in class WorkflowProcessor
Copyright © 1999-2015 Apache OODT. All Rights Reserved.