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 setException
Object 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 setException
Object updateProcess(Object processId, Map processVariables) throws Exception
processId
- - an ID which identifies the running processprocessVariables
- - process variables/parameters to setException
void abortProcess(Object processId) throws Exception
processId
- - an ID which identifies the running processException
Object lookupProcess(Object processId) throws Exception
Exception
Object getId(Object process) throws Exception
Exception
Object getState(Object process) throws Exception
Exception
boolean hasEnded(Object process) throws Exception
Exception
Copyright © 2003–2013 MuleSource, Inc.. All rights reserved.