Class TaskFake
java.lang.Object
org.camunda.community.mockito.task.TaskFake
- All Implemented Interfaces:
org.camunda.bpm.engine.task.Task
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.camunda.bpm.engine.task.Task
PRIORITY_MAXIMUM, PRIORITY_MINIUM, PRIORITY_NORMAL -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskFake.TaskFakeBuilderbuilder()voidorg.camunda.bpm.engine.form.CamundaFormReforg.camunda.bpm.engine.task.DelegationStategetId()getName()getOwner()intbooleanvoidsetAssignee(String assignee) voidsetCamundaFormRef(org.camunda.bpm.engine.form.CamundaFormRef camundaFormRef) voidsetCaseDefinitionId(String caseDefinitionId) voidsetCaseExecutionId(String caseExecutionId) voidsetCaseInstanceId(String caseInstanceId) voidsetCreateTime(Date createTime) voidsetDelegationState(org.camunda.bpm.engine.task.DelegationState delegationState) voidsetDescription(String description) voidsetDueDate(Date dueDate) voidsetExecutionId(String executionId) voidsetFollowUpDate(Date followUpDate) voidsetFormKey(String formKey) voidvoidsetLastUpdated(Date lastUpdated) voidvoidvoidsetParentTaskId(String parentTaskId) voidsetPriority(int priority) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessInstanceId(String processInstanceId) voidsetSuspended(boolean suspended) voidsetTaskDefinitionKey(String taskDefinitionKey) voidsetTenantId(String tenantId) toString()
-
Method Details
-
builder
-
getId
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.task.Task
-
setId
-
getName
- Specified by:
getNamein interfaceorg.camunda.bpm.engine.task.Task
-
setName
- Specified by:
setNamein interfaceorg.camunda.bpm.engine.task.Task
-
getDescription
- Specified by:
getDescriptionin interfaceorg.camunda.bpm.engine.task.Task
-
setDescription
- Specified by:
setDescriptionin interfaceorg.camunda.bpm.engine.task.Task
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.camunda.bpm.engine.task.Task
-
setPriority
public void setPriority(int priority) - Specified by:
setPriorityin interfaceorg.camunda.bpm.engine.task.Task
-
getOwner
- Specified by:
getOwnerin interfaceorg.camunda.bpm.engine.task.Task
-
setOwner
- Specified by:
setOwnerin interfaceorg.camunda.bpm.engine.task.Task
-
getAssignee
- Specified by:
getAssigneein interfaceorg.camunda.bpm.engine.task.Task
-
setAssignee
- Specified by:
setAssigneein interfaceorg.camunda.bpm.engine.task.Task
-
getDelegationState
public org.camunda.bpm.engine.task.DelegationState getDelegationState()- Specified by:
getDelegationStatein interfaceorg.camunda.bpm.engine.task.Task
-
setDelegationState
public void setDelegationState(org.camunda.bpm.engine.task.DelegationState delegationState) - Specified by:
setDelegationStatein interfaceorg.camunda.bpm.engine.task.Task
-
getProcessInstanceId
- Specified by:
getProcessInstanceIdin interfaceorg.camunda.bpm.engine.task.Task
-
setProcessInstanceId
-
getExecutionId
- Specified by:
getExecutionIdin interfaceorg.camunda.bpm.engine.task.Task
-
setExecutionId
-
getProcessDefinitionId
- Specified by:
getProcessDefinitionIdin interfaceorg.camunda.bpm.engine.task.Task
-
setProcessDefinitionId
-
getCaseInstanceId
- Specified by:
getCaseInstanceIdin interfaceorg.camunda.bpm.engine.task.Task
-
setCaseInstanceId
- Specified by:
setCaseInstanceIdin interfaceorg.camunda.bpm.engine.task.Task
-
getCaseExecutionId
- Specified by:
getCaseExecutionIdin interfaceorg.camunda.bpm.engine.task.Task
-
setCaseExecutionId
-
getCaseDefinitionId
- Specified by:
getCaseDefinitionIdin interfaceorg.camunda.bpm.engine.task.Task
-
setCaseDefinitionId
-
getCreateTime
- Specified by:
getCreateTimein interfaceorg.camunda.bpm.engine.task.Task
-
setCreateTime
-
getLastUpdated
- Specified by:
getLastUpdatedin interfaceorg.camunda.bpm.engine.task.Task
-
setLastUpdated
-
getTaskDefinitionKey
- Specified by:
getTaskDefinitionKeyin interfaceorg.camunda.bpm.engine.task.Task
-
setTaskDefinitionKey
-
getDueDate
- Specified by:
getDueDatein interfaceorg.camunda.bpm.engine.task.Task
-
setDueDate
- Specified by:
setDueDatein interfaceorg.camunda.bpm.engine.task.Task
-
getFollowUpDate
- Specified by:
getFollowUpDatein interfaceorg.camunda.bpm.engine.task.Task
-
setFollowUpDate
- Specified by:
setFollowUpDatein interfaceorg.camunda.bpm.engine.task.Task
-
delegate
- Specified by:
delegatein interfaceorg.camunda.bpm.engine.task.Task
-
getParentTaskId
- Specified by:
getParentTaskIdin interfaceorg.camunda.bpm.engine.task.Task
-
setParentTaskId
- Specified by:
setParentTaskIdin interfaceorg.camunda.bpm.engine.task.Task
-
isSuspended
public boolean isSuspended()- Specified by:
isSuspendedin interfaceorg.camunda.bpm.engine.task.Task
-
setSuspended
public void setSuspended(boolean suspended) -
getFormKey
- Specified by:
getFormKeyin interfaceorg.camunda.bpm.engine.task.Task
-
getCamundaFormRef
public org.camunda.bpm.engine.form.CamundaFormRef getCamundaFormRef()- Specified by:
getCamundaFormRefin interfaceorg.camunda.bpm.engine.task.Task
-
setCamundaFormRef
public void setCamundaFormRef(org.camunda.bpm.engine.form.CamundaFormRef camundaFormRef) -
setFormKey
-
getTenantId
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.task.Task
-
setTenantId
- Specified by:
setTenantIdin interfaceorg.camunda.bpm.engine.task.Task
-
toString
-