Package org.camunda.bpm.engine.impl.task
Class TaskDefinition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.task.TaskDefinition
-
public class TaskDefinition extends java.lang.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 java.util.Map<java.lang.String,java.util.List<TaskListener>>
builtinTaskListeners
protected java.lang.String
camundaFormDefinitionBinding
protected Expression
camundaFormDefinitionKey
protected Expression
camundaFormDefinitionVersion
protected java.util.Set<Expression>
candidateGroupIdExpressions
protected java.util.Set<Expression>
candidateUserIdExpressions
protected Expression
descriptionExpression
protected Expression
dueDateExpression
protected Expression
followUpDateExpression
protected Expression
formKey
protected java.lang.String
key
protected Expression
nameExpression
protected Expression
priorityExpression
protected TaskFormHandler
taskFormHandler
protected java.util.Map<java.lang.String,java.util.List<TaskListener>>
taskListeners
protected java.util.Map<java.lang.String,TaskListener>
timeoutTaskListeners
-
Constructor Summary
Constructors Constructor Description TaskDefinition(TaskFormHandler taskFormHandler)
-
Method Summary
-
-
-
Field Detail
-
key
protected java.lang.String key
-
nameExpression
protected Expression nameExpression
-
descriptionExpression
protected Expression descriptionExpression
-
assigneeExpression
protected Expression assigneeExpression
-
candidateUserIdExpressions
protected java.util.Set<Expression> candidateUserIdExpressions
-
candidateGroupIdExpressions
protected java.util.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 java.lang.String camundaFormDefinitionBinding
-
camundaFormDefinitionVersion
protected Expression camundaFormDefinitionVersion
-
taskListeners
protected java.util.Map<java.lang.String,java.util.List<TaskListener>> taskListeners
-
builtinTaskListeners
protected java.util.Map<java.lang.String,java.util.List<TaskListener>> builtinTaskListeners
-
timeoutTaskListeners
protected java.util.Map<java.lang.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 java.util.Set<Expression> getCandidateUserIdExpressions()
-
addCandidateUserIdExpression
public void addCandidateUserIdExpression(Expression userId)
-
getCandidateGroupIdExpressions
public java.util.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 java.lang.String getKey()
-
setKey
public void setKey(java.lang.String key)
-
getDueDateExpression
public Expression getDueDateExpression()
-
setDueDateExpression
public void setDueDateExpression(Expression dueDateExpression)
-
getFollowUpDateExpression
public Expression getFollowUpDateExpression()
-
setFollowUpDateExpression
public void setFollowUpDateExpression(Expression followUpDateExpression)
-
getTaskListeners
public java.util.Map<java.lang.String,java.util.List<TaskListener>> getTaskListeners()
-
getBuiltinTaskListeners
public java.util.Map<java.lang.String,java.util.List<TaskListener>> getBuiltinTaskListeners()
-
setTaskListeners
public void setTaskListeners(java.util.Map<java.lang.String,java.util.List<TaskListener>> taskListeners)
-
getTaskListeners
public java.util.List<TaskListener> getTaskListeners(java.lang.String eventName)
-
getBuiltinTaskListeners
public java.util.List<TaskListener> getBuiltinTaskListeners(java.lang.String eventName)
-
getTimeoutTaskListener
public TaskListener getTimeoutTaskListener(java.lang.String timeoutId)
-
addTaskListener
public void addTaskListener(java.lang.String eventName, TaskListener taskListener)
-
addBuiltInTaskListener
public void addBuiltInTaskListener(java.lang.String eventName, TaskListener taskListener)
-
addTimeoutTaskListener
public void addTimeoutTaskListener(java.lang.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 java.lang.String getCamundaFormDefinitionBinding()
-
setCamundaFormDefinitionBinding
public void setCamundaFormDefinitionBinding(java.lang.String camundaFormDefinitionBinding)
-
getCamundaFormDefinitionVersion
public Expression getCamundaFormDefinitionVersion()
-
setCamundaFormDefinitionVersion
public void setCamundaFormDefinitionVersion(Expression camundaFormDefinitionVersion)
-
-