Class ProcessImpl
java.lang.Object
io.camunda.zeebe.client.impl.response.ProcessImpl
- All Implemented Interfaces:
Process
-
Constructor Summary
ConstructorDescriptionProcessImpl
(long processDefinitionKey, String bpmnProcessId, int version, String resourceName) Deprecated.ProcessImpl
(long processDefinitionKey, String bpmnProcessId, int version, String resourceName, String tenantId) -
Method Summary
-
Constructor Details
-
ProcessImpl
-
ProcessImpl
@Deprecated public ProcessImpl(long processDefinitionKey, String bpmnProcessId, int version, String resourceName) Deprecated.A constructor that provides an instance with the
tenantId set.From version 8.3.0, the java client supports multi-tenancy for this command, which requires the
tenantId
property to be defined. This constructor is only intended for backwards compatibility in tests. -
ProcessImpl
-
-
Method Details
-
getBpmnProcessId
- Specified by:
getBpmnProcessId
in interfaceProcess
- Returns:
- the BPMN process id of the process
-
getVersion
public int getVersion()- Specified by:
getVersion
in interfaceProcess
- Returns:
- the version of the deployed process
-
getProcessDefinitionKey
public long getProcessDefinitionKey()- Specified by:
getProcessDefinitionKey
in interfaceProcess
- Returns:
- the key of the deployed process
-
getResourceName
- Specified by:
getResourceName
in interfaceProcess
- Returns:
- the name of the deployment resource which contains the process
-
getTenantId
- Specified by:
getTenantId
in interfaceProcess
- Returns:
- the tenant identifier that owns this process
-
hashCode
public int hashCode() -
equals
-
toString
-
ProcessImpl(long processDefinitionKey, String bpmnProcessId, int version, String resourceName, String tenantId)