|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientProcessDefinition
adds factory methods for creating and beginning new process instances.
Method Summary | |
---|---|
ClientProcessInstance |
createProcessInstance()
creates a new process instances. |
ClientProcessInstance |
createProcessInstance(java.lang.String key)
creates a new process instances with a given key. |
ClientProcessInstance |
createProcessInstance(java.lang.String key,
Execution superProcessExecution)
creates a new process instances with a given key. |
ClientProcessInstance |
startProcessInstance()
creates the process instance and immediately start its execution. |
ClientExecution |
startProcessInstance(java.lang.String key)
creates the process instance with the given key and immediately start its execution. |
Methods inherited from interface org.jbpm.api.model.OpenProcessDefinition |
---|
getInitial |
Methods inherited from interface org.jbpm.api.ProcessDefinition |
---|
getDeploymentDbid, getId, getImageResourceName, getKey, getName, getVersion |
Methods inherited from interface org.jbpm.api.model.CompositeElement |
---|
findActivity, getActivities, getActivitiesMap, getActivity, hasActivities, hasActivity |
Methods inherited from interface org.jbpm.api.model.ObservableElement |
---|
getDbid, getName, getParent, getProcessDefinition, getProperty, getPropertyKeys, hasEvent |
Method Detail |
---|
ClientProcessInstance createProcessInstance()
variables can be set
before execution is started. Invoke ClientProcessInstance.start()
to start execution of the process.
ClientProcessInstance createProcessInstance(java.lang.String key)
variables can be set
before execution is started. Invoke ClientProcessInstance.start()
to start execution of the process.
key
- is a user provided reference that uniquely identifies this
process instance in the scope of the process name.ClientProcessInstance createProcessInstance(java.lang.String key, Execution superProcessExecution)
variables can be set
before execution is started. Invoke ClientProcessInstance.start()
to start execution of the process.
key
- is a user provided reference that uniquely identifies this
process instance in the scope of the process name. key is allowed to be null.ClientProcessInstance startProcessInstance()
ClientExecution startProcessInstance(java.lang.String key)
key
- is a user provided reference that uniquely identifies this
process instance in the scope of the process name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |