|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessInstantiationBuilder
| Method Summary | |
|---|---|
ProcessInstantiationBuilder |
businessKey(String businessKey)
Set the business key for the process instance |
ProcessInstantiationBuilder |
caseInstanceId(String caseInstanceId)
Associate a case instance with the process instance |
ProcessInstance |
execute()
Start the process instance by executing all instructions in the order they are submitted. |
ProcessInstance |
execute(boolean skipCustomListeners,
boolean skipIoMappings)
Start the process instance by executing all instructions in the order they are submitted. |
| Methods inherited from interface org.camunda.bpm.engine.runtime.ActivityInstantiationBuilder |
|---|
setVariable, setVariableLocal, setVariables, setVariablesLocal |
| Methods inherited from interface org.camunda.bpm.engine.runtime.InstantiationBuilder |
|---|
startAfterActivity, startBeforeActivity, startTransition |
| Method Detail |
|---|
ProcessInstantiationBuilder businessKey(String businessKey)
ProcessInstantiationBuilder caseInstanceId(String caseInstanceId)
ProcessInstance execute()
AuthorizationException - if the user has no Permissions.CREATE permission on Resources.PROCESS_INSTANCE
and no Permissions.CREATE_INSTANCE permission on Resources.PROCESS_DEFINITION.
ProcessInstance execute(boolean skipCustomListeners,
boolean skipIoMappings)
skipCustomListeners - specifies whether custom listeners (task and execution)
should be invoked when executing the instructionsskipIoMappings - specifies whether input/output mappings for tasks should be invoked
throughout the transaction when executing the instructions
AuthorizationException - if the user has no Permissions.CREATE permission on Resources.PROCESS_INSTANCE
and no Permissions.CREATE_INSTANCE permission on Resources.PROCESS_DEFINITION..
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||