public interface BPMS
MessageService}| Modifier and Type | Method and Description |
|---|---|
void |
abortProcess(Object processId)
Abort a running process (end abnormally).
|
Object |
advanceProcess(Object processId,
Object transition,
Map processVariables)
Advance an already-running process.
|
Object |
getId(Object process) |
Object |
getState(Object process) |
boolean |
hasEnded(Object process) |
boolean |
isProcess(Object obj) |
Object |
lookupProcess(Object processId)
Looks up an already-running process.
|
void |
setMessageService(MessageService msgService)
MessageService contains a callback method used to generate Mule messages from your process. |
Object |
startProcess(Object processType,
Object transition,
Map processVariables)
Start a new process.
|
Object |
updateProcess(Object processId,
Map processVariables)
Update the variables/parameters for an already-running process.
|
void setMessageService(MessageService msgService)
MessageService contains a callback method used to generate Mule messages from your process.
This method is REQUIRED.msgService - An interface within Mule which the BPMS may call to generate
Mule messages.Object startProcess(Object processType, Object transition, Map processVariables) throws Exception
processType - - the type of process to startprocessVariables - - optional process variables/parameters to setExceptionObject advanceProcess(Object processId, Object transition, Map processVariables) throws Exception
processId - - an ID which identifies the running processtransition - - optionally specify which transition to take from the
current stateprocessVariables - - optional process variables/parameters to setExceptionObject updateProcess(Object processId, Map processVariables) throws Exception
processId - - an ID which identifies the running processprocessVariables - - process variables/parameters to setExceptionvoid abortProcess(Object processId) throws Exception
processId - - an ID which identifies the running processExceptionObject lookupProcess(Object processId) throws Exception
ExceptionObject getId(Object process) throws Exception
ExceptionObject getState(Object process) throws Exception
Exceptionboolean hasEnded(Object process) throws Exception
ExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.