|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jbpm.msg.mule.Jbpm
| Field Summary | |
protected org.jbpm.JbpmConfiguration |
jbpmConfiguration
|
protected static Log |
logger
|
| Constructor Summary | |
Jbpm()
Creates the Mule wrapper for jBPM. |
|
Jbpm(org.jbpm.JbpmConfiguration jbpmConfiguration)
Creates the Mule interface based on an already-initialized jBPM instance |
|
| Method Summary | |
void |
abortProcess(Object processId)
Delete a process instance. |
Object |
advanceProcess(Object processId)
Advance a process instance one step. |
Object |
advanceProcess(Object processId,
Object transition,
Map processVariables)
Advance a process instance one step. |
void |
completeTask(org.jbpm.taskmgmt.exe.TaskInstance task)
|
void |
completeTask(org.jbpm.taskmgmt.exe.TaskInstance task,
String transition)
|
void |
deployProcess(String processDefinitionFile)
Deploy a new process definition. |
void |
deployProcessFromStream(InputStream processDefinition)
|
Object |
getId(Object process)
|
org.jbpm.JbpmConfiguration |
getJbpmConfiguration()
|
Object |
getState(Object process)
|
boolean |
hasEnded(Object process)
|
boolean |
isProcess(Object obj)
|
List |
loadTasks(org.jbpm.graph.exe.ProcessInstance process)
|
Object |
lookupProcess(Object processId)
Look up an already-running process instance. |
void |
setJbpmConfiguration(org.jbpm.JbpmConfiguration jbpmConfiguration)
|
void |
setMessageService(MessageService msgService)
Set a callback to generate messages within Mule. |
Object |
startProcess(Object processType)
Start a new process. |
Object |
startProcess(Object processType,
Map processVariables)
Start a new process. |
Object |
updateProcess(Object processId,
Map processVariables)
Update the variables for a process instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static transient Log logger
protected org.jbpm.JbpmConfiguration jbpmConfiguration
| Constructor Detail |
public Jbpm()
public Jbpm(org.jbpm.JbpmConfiguration jbpmConfiguration)
| Method Detail |
public void setMessageService(MessageService msgService)
BPMS
setMessageService in interface BPMSmsgService - An interface within Mule which the BPMS may call to generate
Mule messages.
public boolean isProcess(Object obj)
throws Exception
isProcess in interface BPMSException
public Object getId(Object process)
throws Exception
getId in interface BPMSException
public Object getState(Object process)
throws Exception
getState in interface BPMSException
public boolean hasEnded(Object process)
throws Exception
hasEnded in interface BPMSException
public Object lookupProcess(Object processId)
throws Exception
lookupProcess in interface BPMSException
public Object startProcess(Object processType)
throws Exception
Exception
public Object startProcess(Object processType,
Map processVariables)
throws Exception
startProcess in interface BPMSprocessType - - the type of process to startprocessVariables - - optional process variables/parameters to set
Exception
public Object advanceProcess(Object processId)
throws Exception
Exception
public Object advanceProcess(Object processId,
Object transition,
Map processVariables)
throws Exception
advanceProcess in interface BPMSprocessId - - an ID which identifies the running processtransition - - optionally specify which transition to take from the
current stateprocessVariables - - optional process variables/parameters to set
Exception
public Object updateProcess(Object processId,
Map processVariables)
throws Exception
updateProcess in interface BPMSprocessId - - an ID which identifies the running processprocessVariables - - process variables/parameters to set
Exception
public void abortProcess(Object processId)
throws Exception
abortProcess in interface BPMSprocessId - - an ID which identifies the running process
Exception
public void deployProcess(String processDefinitionFile)
throws FileNotFoundException,
IOException
FileNotFoundException
IOException
public void deployProcessFromStream(InputStream processDefinition)
throws FileNotFoundException,
IOException
FileNotFoundException
IOExceptionpublic List loadTasks(org.jbpm.graph.exe.ProcessInstance process)
public void completeTask(org.jbpm.taskmgmt.exe.TaskInstance task)
public void completeTask(org.jbpm.taskmgmt.exe.TaskInstance task,
String transition)
public org.jbpm.JbpmConfiguration getJbpmConfiguration()
public void setJbpmConfiguration(org.jbpm.JbpmConfiguration jbpmConfiguration)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||