|
KIE Internal 6.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessFluent<T>
see ProcessRuntime
| Method Summary | |
|---|---|
T |
abortProcessInstance(long processInstanceId)
Aborts the process instance with the given id. |
T |
createProcessInstance(String processId,
Map<String,Object> parameters)
Creates a new process instance (but does not yet start it). |
WorkItemManagerFluent<WorkItemManagerFluent,T> |
getWorkItemManager()
Returns the WorkItemManager related to this session. |
T |
signalEvent(String type,
Object event)
Signals the engine that an event has occurred. |
T |
signalEvent(String type,
Object event,
long processInstanceId)
Signals the process instance that an event has occurred. |
T |
startProcess(String processId)
Start a new process instance. |
T |
startProcess(String processId,
Map<String,Object> parameters)
Start a new process instance. |
T |
startProcessInstance(long processInstanceId)
Starts the given process instance (which was created by using createProcesInstance but not yet started). |
| Method Detail |
|---|
T startProcess(String processId)
processId - The id of the process that should be started
ProcessInstance that represents the instance of the process that was started
T startProcess(String processId,
Map<String,Object> parameters)
processId - the id of the process that should be startedparameters - the process variables that should be set when starting the process instance
ProcessInstance that represents the instance of the process that was started
T createProcessInstance(String processId,
Map<String,Object> parameters)
processId - the id of the process that should be startedparameters - the process variables that should be set when creating the process instance
ProcessInstance that represents the instance of the process that was created (but not yet started)T startProcessInstance(long processInstanceId)
processInstanceId - the id of the process instance that needs to be started
ProcessInstance that represents the instance of the process that was started
T signalEvent(String type,
Object event)
type - the type of eventevent - the data associated with this event
T signalEvent(String type,
Object event,
long processInstanceId)
type - the type of eventevent - the data associated with this eventprocessInstanceId - the id of the process instance that should be signaledT abortProcessInstance(long processInstanceId)
IllegalArgumentException.
id - the id of the process instanceWorkItemManagerFluent<WorkItemManagerFluent,T> getWorkItemManager()
WorkItemManager related to this session. This can be used to
register new WorkItemHandlers or to complete (or abort) WorkItems.
WorkItemManager related to this session
|
KIE Internal 6.0.0.Beta4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||