|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessController
Provides control and monitoring operations for the enaction user.
Nested Class Summary | |
---|---|
static class |
ProcessController.State
Workflow state. |
Method Summary | |
---|---|
void |
cancel()
Cancels the process enaction. |
ProcessController.State |
getState()
Gets the current state of the workflow execution. |
void |
join()
Suspends the current thread until the workflow execution finishes. |
void |
pause()
Pauses a workflow execution. |
void |
resume()
Resumes a workflow execution. |
void |
run()
Synchronous workflow execution. |
void |
start()
Starts the process enaction. |
Method Detail |
---|
void pause() throws ProcessException, java.lang.InterruptedException
ProcessException
- If an error occurs
java.lang.InterruptedException
- If the thread execution is interruptedvoid resume() throws ProcessException
ProcessException
- If an error occursProcessController.State getState()
void start() throws ProcessException
ProcessException
- If an error occursvoid cancel() throws ProcessException, java.lang.InterruptedException
ProcessException
- If an error occurs
java.lang.InterruptedException
- If the thread execution is interruptedvoid join() throws ProcessException, java.lang.InterruptedException
ProcessException
- If an error occurs
java.lang.InterruptedException
- If the thread execution is interruptedvoid run() throws ProcessException, java.lang.InterruptedException
ProcessException
- If an error occurs
java.lang.InterruptedException
- If the thread execution is interrupted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |