Package io.zeebe.client.impl.response
Class WorkflowImpl
- java.lang.Object
-
- io.zeebe.client.impl.response.WorkflowImpl
-
-
Constructor Summary
Constructors Constructor Description WorkflowImpl(long workflowKey, String bpmnProcessId, int version, String resourceName)
WorkflowImpl(GatewayOuterClass.WorkflowMetadata workflow)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBpmnProcessId()
String
getResourceName()
int
getVersion()
long
getWorkflowKey()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
WorkflowImpl
public WorkflowImpl(GatewayOuterClass.WorkflowMetadata workflow)
-
-
Method Detail
-
getBpmnProcessId
public String getBpmnProcessId()
- Specified by:
getBpmnProcessId
in interfaceWorkflow
- Returns:
- the BPMN process id of the workflow
-
getVersion
public int getVersion()
- Specified by:
getVersion
in interfaceWorkflow
- Returns:
- the version of the deployed workflow
-
getWorkflowKey
public long getWorkflowKey()
- Specified by:
getWorkflowKey
in interfaceWorkflow
- Returns:
- the key of the deployed workflow
-
getResourceName
public String getResourceName()
- Specified by:
getResourceName
in interfaceWorkflow
- Returns:
- the name of the deployment resource which contains the workflow
-
-