Package io.camunda.service
Record Class ProcessInstanceServices.ProcessInstanceCreateRequest
java.lang.Object
java.lang.Record
io.camunda.service.ProcessInstanceServices.ProcessInstanceCreateRequest
- Enclosing class:
ProcessInstanceServices
public static record ProcessInstanceServices.ProcessInstanceCreateRequest(Long processDefinitionKey, String bpmnProcessId, Integer version, Map<String,Object> variables, String tenantId, Boolean awaitCompletion, Long requestTimeout, Long operationReference, List<ProcessInstanceCreationStartInstruction> startInstructions, List<String> fetchVariables)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceCreateRequest(Long processDefinitionKey, String bpmnProcessId, Integer version, Map<String, Object> variables, String tenantId, Boolean awaitCompletion, Long requestTimeout, Long operationReference, List<ProcessInstanceCreationStartInstruction> startInstructions, List<String> fetchVariables) Creates an instance of aProcessInstanceCreateRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theawaitCompletionrecord component.Returns the value of thebpmnProcessIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefetchVariablesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationReferencerecord component.Returns the value of theprocessDefinitionKeyrecord component.Returns the value of therequestTimeoutrecord component.Returns the value of thestartInstructionsrecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevariablesrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
ProcessInstanceCreateRequest
public ProcessInstanceCreateRequest(Long processDefinitionKey, String bpmnProcessId, Integer version, Map<String, Object> variables, String tenantId, Boolean awaitCompletion, Long requestTimeout, Long operationReference, List<ProcessInstanceCreationStartInstruction> startInstructions, List<String> fetchVariables) Creates an instance of aProcessInstanceCreateRequestrecord class.- Parameters:
processDefinitionKey- the value for theprocessDefinitionKeyrecord componentbpmnProcessId- the value for thebpmnProcessIdrecord componentversion- the value for theversionrecord componentvariables- the value for thevariablesrecord componenttenantId- the value for thetenantIdrecord componentawaitCompletion- the value for theawaitCompletionrecord componentrequestTimeout- the value for therequestTimeoutrecord componentoperationReference- the value for theoperationReferencerecord componentstartInstructions- the value for thestartInstructionsrecord componentfetchVariables- the value for thefetchVariablesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
processDefinitionKey
Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
bpmnProcessId
Returns the value of thebpmnProcessIdrecord component.- Returns:
- the value of the
bpmnProcessIdrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
variables
Returns the value of thevariablesrecord component.- Returns:
- the value of the
variablesrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
awaitCompletion
Returns the value of theawaitCompletionrecord component.- Returns:
- the value of the
awaitCompletionrecord component
-
requestTimeout
Returns the value of therequestTimeoutrecord component.- Returns:
- the value of the
requestTimeoutrecord component
-
operationReference
Returns the value of theoperationReferencerecord component.- Returns:
- the value of the
operationReferencerecord component
-
startInstructions
Returns the value of thestartInstructionsrecord component.- Returns:
- the value of the
startInstructionsrecord component
-
fetchVariables
Returns the value of thefetchVariablesrecord component.- Returns:
- the value of the
fetchVariablesrecord component
-