Package org.camunda.bpm.engine.impl.task
Class TaskDefinition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.task.TaskDefinition
-
public class TaskDefinition extends Object
Container for task definition information gathered at parsing time.- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected Expression
assigneeExpression
protected Map<String,List<TaskListener>>
builtinTaskListeners
protected String
camundaFormDefinitionBinding
protected Expression
camundaFormDefinitionKey
protected Expression
camundaFormDefinitionVersion
protected Set<Expression>
candidateGroupIdExpressions
protected Set<Expression>
candidateUserIdExpressions
protected Expression
descriptionExpression
protected Expression
dueDateExpression
protected Expression
followUpDateExpression
protected Expression
formKey
protected String
key
protected Expression
nameExpression
protected Expression
priorityExpression
protected TaskFormHandler
taskFormHandler
protected Map<String,List<TaskListener>>
taskListeners
protected Map<String,TaskListener>
timeoutTaskListeners
-
Constructor Summary
Constructors Constructor Description TaskDefinition(TaskFormHandler taskFormHandler)
-
Method Summary
-
-
-
Field Detail
-
key
protected String key
-
nameExpression
protected Expression nameExpression
-
descriptionExpression
protected Expression descriptionExpression
-
assigneeExpression
protected Expression assigneeExpression
-
candidateUserIdExpressions
protected Set<Expression> candidateUserIdExpressions
-
candidateGroupIdExpressions
protected Set<Expression> candidateGroupIdExpressions
-
dueDateExpression
protected Expression dueDateExpression
-
followUpDateExpression
protected Expression followUpDateExpression
-
priorityExpression
protected Expression priorityExpression
-
taskFormHandler
protected TaskFormHandler taskFormHandler
-
formKey
protected Expression formKey
-
camundaFormDefinitionKey
protected Expression camundaFormDefinitionKey
-
camundaFormDefinitionBinding
protected String camundaFormDefinitionBinding
-
camundaFormDefinitionVersion
protected Expression camundaFormDefinitionVersion
-
taskListeners
protected Map<String,List<TaskListener>> taskListeners
-
builtinTaskListeners
protected Map<String,List<TaskListener>> builtinTaskListeners
-
timeoutTaskListeners
protected Map<String,TaskListener> timeoutTaskListeners
-
-
Constructor Detail
-
TaskDefinition
public TaskDefinition(TaskFormHandler taskFormHandler)
-
-
Method Detail
-
getNameExpression
public Expression getNameExpression()
-
setNameExpression
public void setNameExpression(Expression nameExpression)
-
getDescriptionExpression
public Expression getDescriptionExpression()
-
setDescriptionExpression
public void setDescriptionExpression(Expression descriptionExpression)
-
getAssigneeExpression
public Expression getAssigneeExpression()
-
setAssigneeExpression
public void setAssigneeExpression(Expression assigneeExpression)
-
getCandidateUserIdExpressions
public Set<Expression> getCandidateUserIdExpressions()
-
addCandidateUserIdExpression
public void addCandidateUserIdExpression(Expression userId)
-
getCandidateGroupIdExpressions
public Set<Expression> getCandidateGroupIdExpressions()
-
addCandidateGroupIdExpression
public void addCandidateGroupIdExpression(Expression groupId)
-
getPriorityExpression
public Expression getPriorityExpression()
-
setPriorityExpression
public void setPriorityExpression(Expression priorityExpression)
-
getTaskFormHandler
public TaskFormHandler getTaskFormHandler()
-
setTaskFormHandler
public void setTaskFormHandler(TaskFormHandler taskFormHandler)
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getDueDateExpression
public Expression getDueDateExpression()
-
setDueDateExpression
public void setDueDateExpression(Expression dueDateExpression)
-
getFollowUpDateExpression
public Expression getFollowUpDateExpression()
-
setFollowUpDateExpression
public void setFollowUpDateExpression(Expression followUpDateExpression)
-
getTaskListeners
public Map<String,List<TaskListener>> getTaskListeners()
-
getBuiltinTaskListeners
public Map<String,List<TaskListener>> getBuiltinTaskListeners()
-
setTaskListeners
public void setTaskListeners(Map<String,List<TaskListener>> taskListeners)
-
getTaskListeners
public List<TaskListener> getTaskListeners(String eventName)
-
getBuiltinTaskListeners
public List<TaskListener> getBuiltinTaskListeners(String eventName)
-
getTimeoutTaskListener
public TaskListener getTimeoutTaskListener(String timeoutId)
-
addTaskListener
public void addTaskListener(String eventName, TaskListener taskListener)
-
addBuiltInTaskListener
public void addBuiltInTaskListener(String eventName, TaskListener taskListener)
-
addTimeoutTaskListener
public void addTimeoutTaskListener(String timeoutId, TaskListener taskListener)
-
getFormKey
public Expression getFormKey()
-
setFormKey
public void setFormKey(Expression formKey)
-
getCamundaFormDefinitionKey
public Expression getCamundaFormDefinitionKey()
-
setCamundaFormDefinitionKey
public void setCamundaFormDefinitionKey(Expression camundaFormDefinitionKey)
-
getCamundaFormDefinitionBinding
public String getCamundaFormDefinitionBinding()
-
setCamundaFormDefinitionBinding
public void setCamundaFormDefinitionBinding(String camundaFormDefinitionBinding)
-
getCamundaFormDefinitionVersion
public Expression getCamundaFormDefinitionVersion()
-
setCamundaFormDefinitionVersion
public void setCamundaFormDefinitionVersion(Expression camundaFormDefinitionVersion)
-
-