public class TaskDefinition extends Object
Modifier and Type | Field and Description |
---|---|
protected Expression |
assigneeExpression |
protected Map<String,List<TaskListener>> |
builtinTaskListeners |
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 and Description |
---|
TaskDefinition(TaskFormHandler taskFormHandler) |
protected String key
protected Expression nameExpression
protected Expression descriptionExpression
protected Expression assigneeExpression
protected Set<Expression> candidateUserIdExpressions
protected Set<Expression> candidateGroupIdExpressions
protected Expression dueDateExpression
protected Expression followUpDateExpression
protected Expression priorityExpression
protected TaskFormHandler taskFormHandler
protected Expression formKey
protected Map<String,List<TaskListener>> taskListeners
protected Map<String,List<TaskListener>> builtinTaskListeners
protected Map<String,TaskListener> timeoutTaskListeners
public TaskDefinition(TaskFormHandler taskFormHandler)
public Expression getNameExpression()
public void setNameExpression(Expression nameExpression)
public Expression getDescriptionExpression()
public void setDescriptionExpression(Expression descriptionExpression)
public Expression getAssigneeExpression()
public void setAssigneeExpression(Expression assigneeExpression)
public Set<Expression> getCandidateUserIdExpressions()
public void addCandidateUserIdExpression(Expression userId)
public Set<Expression> getCandidateGroupIdExpressions()
public void addCandidateGroupIdExpression(Expression groupId)
public Expression getPriorityExpression()
public void setPriorityExpression(Expression priorityExpression)
public TaskFormHandler getTaskFormHandler()
public void setTaskFormHandler(TaskFormHandler taskFormHandler)
public String getKey()
public void setKey(String key)
public Expression getDueDateExpression()
public void setDueDateExpression(Expression dueDateExpression)
public Expression getFollowUpDateExpression()
public void setFollowUpDateExpression(Expression followUpDateExpression)
public Map<String,List<TaskListener>> getTaskListeners()
public Map<String,List<TaskListener>> getBuiltinTaskListeners()
public void setTaskListeners(Map<String,List<TaskListener>> taskListeners)
public List<TaskListener> getTaskListeners(String eventName)
public List<TaskListener> getBuiltinTaskListeners(String eventName)
public TaskListener getTimeoutTaskListener(String timeoutId)
public void addTaskListener(String eventName, TaskListener taskListener)
public void addBuiltInTaskListener(String eventName, TaskListener taskListener)
public void addTimeoutTaskListener(String timeoutId, TaskListener taskListener)
public Expression getFormKey()
public void setFormKey(Expression formKey)
Copyright © 2021. All rights reserved.