|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkflowProcessorThread
A Threaded interface for processing a WorkflowInstance
. The job of
this class is to actually take the WorkflowInstance and execute its jobs. The
class should maintain the state of the instance, such as the currentTaskId,
and so forth.
Method Summary | |
---|---|
WorkflowInstance |
getWorkflowInstance()
|
void |
pause()
Pauses exectuion of a WorkflowInstace being handled by this
WorkflowProcessorThread. |
void |
resume()
Resumes execution of a pause() d WorkflowInstace by this
WorkflowProcessorThread. |
void |
stop()
Stops once and for all the thread from processing the workflow. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
WorkflowInstance getWorkflowInstance()
WorkflowInstance
that this Thread is processing.void stop()
Stops once and for all the thread from processing the workflow. This method should not maintain the state of the workflow, it should gracefully shut down the WorkflowProcessorThread and any of its subsequent resources.
void resume()
Resumes execution of a pause()
d WorkflowInstace
by this
WorkflowProcessorThread.
void pause()
Pauses exectuion of a WorkflowInstace
being handled by this
WorkflowProcessorThread.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |