Class CreateProcessInstanceWithResultResponseImpl
- java.lang.Object
-
- io.camunda.zeebe.client.impl.response.CreateProcessInstanceWithResultResponseImpl
-
- All Implemented Interfaces:
ProcessInstanceResult
public final class CreateProcessInstanceWithResultResponseImpl extends Object implements ProcessInstanceResult
-
-
Constructor Summary
Constructors Constructor Description CreateProcessInstanceWithResultResponseImpl(JsonMapper jsonMapper, GatewayOuterClass.CreateProcessInstanceWithResultResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBpmnProcessId()BPMN process id of the process which this instance was created forlonggetProcessDefinitionKey()Key of the process which this instance was created forlonggetProcessInstanceKey()Unique key of the created process instance on the partitionStringgetVariables()Variables returned after the process is completed.Map<String,Object>getVariablesAsMap()Variables returned after the process is completed.<T> TgetVariablesAsType(Class<T> variableType)Variables returned after the process is completed.intgetVersion()Version of the process which this instance was created forStringtoString()
-
-
-
Constructor Detail
-
CreateProcessInstanceWithResultResponseImpl
public CreateProcessInstanceWithResultResponseImpl(JsonMapper jsonMapper, GatewayOuterClass.CreateProcessInstanceWithResultResponse response)
-
-
Method Detail
-
getProcessDefinitionKey
public long getProcessDefinitionKey()
Description copied from interface:ProcessInstanceResultKey of the process which this instance was created for- Specified by:
getProcessDefinitionKeyin interfaceProcessInstanceResult
-
getBpmnProcessId
public String getBpmnProcessId()
Description copied from interface:ProcessInstanceResultBPMN process id of the process which this instance was created for- Specified by:
getBpmnProcessIdin interfaceProcessInstanceResult
-
getVersion
public int getVersion()
Description copied from interface:ProcessInstanceResultVersion of the process which this instance was created for- Specified by:
getVersionin interfaceProcessInstanceResult
-
getProcessInstanceKey
public long getProcessInstanceKey()
Description copied from interface:ProcessInstanceResultUnique key of the created process instance on the partition- Specified by:
getProcessInstanceKeyin interfaceProcessInstanceResult
-
getVariables
public String getVariables()
Description copied from interface:ProcessInstanceResultVariables returned after the process is completed.- Specified by:
getVariablesin interfaceProcessInstanceResult- Returns:
- JSON-formatted variables
-
getVariablesAsMap
public Map<String,Object> getVariablesAsMap()
Description copied from interface:ProcessInstanceResultVariables returned after the process is completed.- Specified by:
getVariablesAsMapin interfaceProcessInstanceResult- Returns:
- de-serialized variables as map
-
getVariablesAsType
public <T> T getVariablesAsType(Class<T> variableType)
Description copied from interface:ProcessInstanceResultVariables returned after the process is completed.- Specified by:
getVariablesAsTypein interfaceProcessInstanceResult- Returns:
- de-serialized variables as the given type
-
-