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.util.Set<Expression>
candidateGroupIdExpressions
protected java.util.Set<Expression>
candidateUserIdExpressions
protected Expression
descriptionExpression
protected Expression
dueDateExpression
protected Expression
followUpDateExpression
protected FormDefinition
formDefinition
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
-
formDefinition
protected FormDefinition formDefinition
-
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)
-
getFormDefinition
public FormDefinition getFormDefinition()
-
setFormDefinition
public void setFormDefinition(FormDefinition formDefinition)
-
getFormKey
public Expression getFormKey()
-
setFormKey
public void setFormKey(Expression formKey)
-
getCamundaFormDefinitionKey
public Expression getCamundaFormDefinitionKey()
-
getCamundaFormDefinitionBinding
public java.lang.String getCamundaFormDefinitionBinding()
-
getCamundaFormDefinitionVersion
public Expression getCamundaFormDefinitionVersion()
-
-