public interface BPMS extends NameableObject
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.
|
void |
deployProcess(String resource)
Deploy (not start) a process to the BPMS based on a process definition file.
|
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.
|
void |
undeployProcess(String resource)
Undeploy a process from the BPMS.
|
Object |
updateProcess(Object processId,
Map processVariables)
Update the variables/parameters for an already-running process.
|
setName
getName
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.void deployProcess(String resource) throws Exception
resource
- - process definition fileException
void undeployProcess(String resource) throws Exception
resource
- - process definition fileException
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–2016 MuleSoft, Inc.. All rights reserved.