public class DelegateTaskFake extends VariableScopeFake<DelegateTaskFake> implements org.camunda.bpm.engine.delegate.DelegateTask, Serializable
variableInstanceFactory, variableStore| Constructor and Description |
|---|
DelegateTaskFake() |
DelegateTaskFake(String id) |
getParentVariableScope, getVariableInstanceFactory, getVariableInstanceLifecycleListeners, getVariableScopeKey, getVariableStore, withVariable, withVariableLocal, withVariables, withVariablesLocalcollectVariableNames, collectVariables, dispatchEvent, getCachedElContext, getSourceActivityVariableScope, getValueFromVariableInstance, getVariable, getVariable, getVariableInstance, getVariableInstanceLocal, getVariableInstancesLocal, getVariableLocal, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersCreate, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersDelete, invokeVariableLifecycleListenersUpdate, invokeVariableLifecycleListenersUpdate, removeVariable, removeVariable, removeVariableLocal, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setCachedElContext, setVariable, setVariable, setVariableLocal, setVariableLocal, setVariableLocalTransient, setVariables, setVariablesLocalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariable, getVariableLocal, getVariableLocalTyped, getVariableLocalTyped, getVariableNames, getVariableNamesLocal, getVariables, getVariableScopeKey, getVariablesLocal, getVariablesLocalTyped, getVariablesLocalTyped, getVariablesTyped, getVariablesTyped, getVariableTyped, getVariableTyped, hasVariable, hasVariableLocal, hasVariables, hasVariablesLocal, removeVariable, removeVariableLocal, removeVariables, removeVariables, removeVariablesLocal, removeVariablesLocal, setVariable, setVariableLocal, setVariables, setVariablesLocalpublic DelegateTaskFake()
public DelegateTaskFake(String id)
public static Set<String> candidateUserIds(org.camunda.bpm.engine.delegate.DelegateTask task)
public static Set<String> candidateGroupIds(org.camunda.bpm.engine.delegate.DelegateTask task)
public static Set<String> userIds(org.camunda.bpm.engine.delegate.DelegateTask task, String type)
public static Set<String> groupIds(org.camunda.bpm.engine.delegate.DelegateTask task, String type)
public String getId()
getId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withId(String id)
public String getName()
getName in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void setName(String name)
setName in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withName(String name)
public String getDescription()
getDescription in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void setDescription(String description)
setDescription in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withDescription(String description)
public int getPriority()
getPriority in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void setPriority(int priority)
setPriority in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withPriority(int priority)
public String getProcessInstanceId()
getProcessInstanceId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withProcessInstanceId(String processInstanceId)
public String getProcessDefinitionId()
getProcessDefinitionId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withProcessDefinitionId(String processDefinitionId)
public String getCaseInstanceId()
getCaseInstanceId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withCaseInstanceId(String caseInstanceId)
public String getCaseExecutionId()
getCaseExecutionId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withCaseExecutionId(String caseExecutionId)
public String getCaseDefinitionId()
getCaseDefinitionId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withCaseDefinitionId(String caseDefinitionId)
public Date getCreateTime()
getCreateTime in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withCreateTime(Date createTime)
public String getTaskDefinitionKey()
getTaskDefinitionKey in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withTaskDefinitionKey(String taskDefinitionKey)
public org.camunda.bpm.engine.delegate.DelegateExecution getExecution()
getExecution in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateExecutionFake getExecutionFake()
public String getExecutionId()
getExecutionId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withExecutionId(String executionId)
public DelegateTaskFake withExecution(org.camunda.bpm.engine.delegate.DelegateExecution execution)
public org.camunda.bpm.engine.delegate.DelegateCaseExecution getCaseExecution()
getCaseExecution in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withCaseExecution(org.camunda.bpm.engine.delegate.DelegateCaseExecution caseExecution)
public String getEventName()
getEventName in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withEventName(String eventName)
public void addCandidateUser(String userId)
addCandidateUser in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void addCandidateUsers(Collection<String> candidateUsers)
addCandidateUsers in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void addCandidateGroup(String groupId)
addCandidateGroup in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void addCandidateGroups(Collection<String> candidateGroups)
addCandidateGroups in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void addUserIdentityLink(String userId, String type)
addUserIdentityLink in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void addGroupIdentityLink(String groupId, String type)
addGroupIdentityLink in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void deleteCandidateUser(String userId)
deleteCandidateUser in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void deleteCandidateGroup(String groupId)
deleteCandidateGroup in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void deleteUserIdentityLink(String userId, String type)
deleteUserIdentityLink in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void deleteGroupIdentityLink(String groupId, String type)
deleteGroupIdentityLink in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic Set<org.camunda.bpm.engine.task.IdentityLink> getCandidates()
getCandidates in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic String getOwner()
getOwner in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void setOwner(String owner)
setOwner in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic String getAssignee()
getAssignee in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void setAssignee(String assignee)
setAssignee in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic Date getDueDate()
getDueDate in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic void setDueDate(Date dueDate)
setDueDate in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic String getDeleteReason()
getDeleteReason in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withDeleteReason(String deleteReason)
public org.camunda.bpm.model.bpmn.BpmnModelInstance getBpmnModelInstance()
getBpmnModelInstance in interface org.camunda.bpm.engine.delegate.BpmnModelExecutionContextpublic org.camunda.bpm.model.bpmn.instance.UserTask getBpmnModelElementInstance()
getBpmnModelElementInstance in interface org.camunda.bpm.engine.delegate.BpmnModelExecutionContextgetBpmnModelElementInstance in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic String getTenantId()
getTenantId in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic DelegateTaskFake withTenantId(String tenantId)
public void complete()
complete in interface org.camunda.bpm.engine.delegate.DelegateTaskpublic boolean isCompleted()
public org.camunda.bpm.engine.ProcessEngineServices getProcessEngineServices()
getProcessEngineServices in interface org.camunda.bpm.engine.delegate.ProcessEngineServicesAwarepublic DelegateTaskFake withProcessEngineServices(org.camunda.bpm.engine.ProcessEngineServices processEngineServices)
Copyright © 2018 camunda services GmbH. All rights reserved.