Package org.openapitools.client.model
Class TaskDto
- java.lang.Object
-
- org.openapitools.client.model.TaskDto
-
public class TaskDto extends Object
TaskDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskDto.DelegationStateEnumThe task's delegation state.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TaskDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskDtoassignee(String assignee)TaskDtocamundaFormRef(Map<String,CamundaFormRef> camundaFormRef)TaskDtocaseDefinitionId(String caseDefinitionId)TaskDtocaseExecutionId(String caseExecutionId)TaskDtocaseInstanceId(String caseInstanceId)TaskDtocreated(Date created)TaskDtodelegationState(TaskDto.DelegationStateEnum delegationState)TaskDtodescription(String description)TaskDtodue(Date due)booleanequals(Object o)TaskDtoexecutionId(String executionId)TaskDtofollowUp(Date followUp)TaskDtoformKey(String formKey)StringgetAssignee()The assignee's id.Map<String,CamundaFormRef>getCamundaFormRef()A reference to a specific version of a Camunda Form.StringgetCaseDefinitionId()The id of the case definition the task belongs to.StringgetCaseExecutionId()The id of the case execution the task belongs to.StringgetCaseInstanceId()The id of the case instance the task belongs to.DategetCreated()The date the task was created on.TaskDto.DelegationStateEnumgetDelegationState()The task's delegation state.StringgetDescription()The task's description.DategetDue()The task's due date.StringgetExecutionId()The id of the execution the task belongs to.DategetFollowUp()The follow-up date for the task.StringgetFormKey()If not `null`, the form key for the task.StringgetId()The task id.DategetLastUpdated()The date the task was last updated.StringgetName()The task name.StringgetOwner()The owner's id.StringgetParentTaskId()The id the parent task, if this task is a subtask.IntegergetPriority()The task's priority.StringgetProcessDefinitionId()The id of the process definition the task belongs to.StringgetProcessInstanceId()The id of the process instance the task belongs to.BooleangetSuspended()Whether the task belongs to a process instance that is suspended.StringgetTaskDefinitionKey()The task's key.StringgetTenantId()If not `null`, the tenant id of the task.inthashCode()TaskDtoid(String id)TaskDtolastUpdated(Date lastUpdated)TaskDtoname(String name)TaskDtoowner(String owner)TaskDtoparentTaskId(String parentTaskId)TaskDtopriority(Integer priority)TaskDtoprocessDefinitionId(String processDefinitionId)TaskDtoprocessInstanceId(String processInstanceId)TaskDtoputCamundaFormRefItem(String key, CamundaFormRef camundaFormRefItem)voidsetAssignee(String assignee)voidsetCamundaFormRef(Map<String,CamundaFormRef> camundaFormRef)voidsetCaseDefinitionId(String caseDefinitionId)voidsetCaseExecutionId(String caseExecutionId)voidsetCaseInstanceId(String caseInstanceId)voidsetCreated(Date created)voidsetDelegationState(TaskDto.DelegationStateEnum delegationState)voidsetDescription(String description)voidsetDue(Date due)voidsetExecutionId(String executionId)voidsetFollowUp(Date followUp)voidsetFormKey(String formKey)voidsetId(String id)voidsetLastUpdated(Date lastUpdated)voidsetName(String name)voidsetOwner(String owner)voidsetParentTaskId(String parentTaskId)voidsetPriority(Integer priority)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessInstanceId(String processInstanceId)voidsetSuspended(Boolean suspended)voidsetTaskDefinitionKey(String taskDefinitionKey)voidsetTenantId(String tenantId)TaskDtosuspended(Boolean suspended)TaskDtotaskDefinitionKey(String taskDefinitionKey)TaskDtotenantId(String tenantId)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ASSIGNEE
public static final String SERIALIZED_NAME_ASSIGNEE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OWNER
public static final String SERIALIZED_NAME_OWNER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATED
public static final String SERIALIZED_NAME_CREATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LAST_UPDATED
public static final String SERIALIZED_NAME_LAST_UPDATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DUE
public static final String SERIALIZED_NAME_DUE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FOLLOW_UP
public static final String SERIALIZED_NAME_FOLLOW_UP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DELEGATION_STATE
public static final String SERIALIZED_NAME_DELEGATION_STATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION_ID
public static final String SERIALIZED_NAME_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PARENT_TASK_ID
public static final String SERIALIZED_NAME_PARENT_TASK_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIORITY
public static final String SERIALIZED_NAME_PRIORITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASE_EXECUTION_ID
public static final String SERIALIZED_NAME_CASE_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASE_DEFINITION_ID
public static final String SERIALIZED_NAME_CASE_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CASE_INSTANCE_ID
public static final String SERIALIZED_NAME_CASE_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TASK_DEFINITION_KEY
public static final String SERIALIZED_NAME_TASK_DEFINITION_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUSPENDED
public static final String SERIALIZED_NAME_SUSPENDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FORM_KEY
public static final String SERIALIZED_NAME_FORM_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAMUNDA_FORM_REF
public static final String SERIALIZED_NAME_CAMUNDA_FORM_REF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID
public static final String SERIALIZED_NAME_TENANT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
The task id.- Returns:
- id
-
setId
public void setId(String id)
-
getName
public String getName()
The task name.- Returns:
- name
-
setName
public void setName(String name)
-
getAssignee
public String getAssignee()
The assignee's id.- Returns:
- assignee
-
setAssignee
public void setAssignee(String assignee)
-
getOwner
public String getOwner()
The owner's id.- Returns:
- owner
-
setOwner
public void setOwner(String owner)
-
getCreated
public Date getCreated()
The date the task was created on. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- created
-
setCreated
public void setCreated(Date created)
-
getLastUpdated
public Date getLastUpdated()
The date the task was last updated. Every action that fires a [task update event](https://docs.camunda.org/manual/7.18/user-guide/process-engine/delegation-code/#task-listener-event-lifecycle) will update this property. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- lastUpdated
-
setLastUpdated
public void setLastUpdated(Date lastUpdated)
-
getDue
public Date getDue()
The task's due date. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- due
-
setDue
public void setDue(Date due)
-
getFollowUp
public Date getFollowUp()
The follow-up date for the task. [Default format](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/) `yyyy-MM-dd'T'HH:mm:ss.SSSZ`.- Returns:
- followUp
-
setFollowUp
public void setFollowUp(Date followUp)
-
delegationState
public TaskDto delegationState(TaskDto.DelegationStateEnum delegationState)
-
getDelegationState
public TaskDto.DelegationStateEnum getDelegationState()
The task's delegation state. Possible values are `PENDING` and `RESOLVED`.- Returns:
- delegationState
-
setDelegationState
public void setDelegationState(TaskDto.DelegationStateEnum delegationState)
-
getDescription
public String getDescription()
The task's description.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
getExecutionId
public String getExecutionId()
The id of the execution the task belongs to.- Returns:
- executionId
-
setExecutionId
public void setExecutionId(String executionId)
-
getParentTaskId
public String getParentTaskId()
The id the parent task, if this task is a subtask.- Returns:
- parentTaskId
-
setParentTaskId
public void setParentTaskId(String parentTaskId)
-
getPriority
public Integer getPriority()
The task's priority.- Returns:
- priority
-
setPriority
public void setPriority(Integer priority)
-
getProcessDefinitionId
public String getProcessDefinitionId()
The id of the process definition the task belongs to.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
getProcessInstanceId
public String getProcessInstanceId()
The id of the process instance the task belongs to.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
getCaseExecutionId
public String getCaseExecutionId()
The id of the case execution the task belongs to.- Returns:
- caseExecutionId
-
setCaseExecutionId
public void setCaseExecutionId(String caseExecutionId)
-
getCaseDefinitionId
public String getCaseDefinitionId()
The id of the case definition the task belongs to.- Returns:
- caseDefinitionId
-
setCaseDefinitionId
public void setCaseDefinitionId(String caseDefinitionId)
-
getCaseInstanceId
public String getCaseInstanceId()
The id of the case instance the task belongs to.- Returns:
- caseInstanceId
-
setCaseInstanceId
public void setCaseInstanceId(String caseInstanceId)
-
getTaskDefinitionKey
public String getTaskDefinitionKey()
The task's key.- Returns:
- taskDefinitionKey
-
setTaskDefinitionKey
public void setTaskDefinitionKey(String taskDefinitionKey)
-
getSuspended
public Boolean getSuspended()
Whether the task belongs to a process instance that is suspended.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
getFormKey
public String getFormKey()
If not `null`, the form key for the task.- Returns:
- formKey
-
setFormKey
public void setFormKey(String formKey)
-
camundaFormRef
public TaskDto camundaFormRef(Map<String,CamundaFormRef> camundaFormRef)
-
putCamundaFormRefItem
public TaskDto putCamundaFormRefItem(String key, CamundaFormRef camundaFormRefItem)
-
getCamundaFormRef
public Map<String,CamundaFormRef> getCamundaFormRef()
A reference to a specific version of a Camunda Form.- Returns:
- camundaFormRef
-
setCamundaFormRef
public void setCamundaFormRef(Map<String,CamundaFormRef> camundaFormRef)
-
getTenantId
public String getTenantId()
If not `null`, the tenant id of the task.- Returns:
- tenantId
-
setTenantId
public void setTenantId(String tenantId)
-
-