Package org.bonitasoft.engine.mdc
Class ProcessInstanceMDC
java.lang.Object
org.bonitasoft.engine.mdc.AbstractMDC
org.bonitasoft.engine.mdc.ProcessInstanceMDC
- All Implemented Interfaces:
AutoCloseable,MDCConstants
-
Field Summary
Fields inherited from interface org.bonitasoft.engine.mdc.MDCConstants
CORRELATION_REQUEST_ID, FLOW_NODE_INSTANCE_ID, PROCESS_DEFINITION_ID, PROCESS_INSTANCE_ID, REQUEST_ID, REQUEST_METHOD, REQUEST_QUERY_STRING, REQUEST_REMOTE_HOST_MDC_KEY, REQUEST_REQUEST_URI, REQUEST_REQUEST_URL, REQUEST_USER_AGENT_MDC_KEY, REQUEST_X_FORWARDED_FOR, ROOT_PROCESS_INSTANCE_ID, SUBSTITUTE_USER_ID, TRANSACTION_ID, USER_ID -
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceMDC(long processInstanceId, Optional<Long> executerId, Optional<Long> substituteUserId, long processDefinitionId, long rootProcessInstanceId) Build a process instance context. -
Method Summary
Methods inherited from class org.bonitasoft.engine.mdc.AbstractMDC
closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
close
-
Constructor Details
-
ProcessInstanceMDC
public ProcessInstanceMDC(long processInstanceId, Optional<Long> executerId, Optional<Long> substituteUserId, long processDefinitionId, long rootProcessInstanceId) Build a process instance context.- Parameters:
processInstanceId- the id of the process instance / caseexecuterId- the id of process starter executionsubstituteUserId- the id of substitute process starter executionprocessDefinitionId- the id of the process definitionrootProcessInstanceId- the id of the root process instance / case
-