|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.graph.def.GraphElement org.jbpm.taskmgmt.def.Task
defines a task and how the actor must be calculated at runtime.
Field Summary | |
protected Delegation |
assignmentDelegation
|
protected java.lang.String |
description
|
protected java.lang.String |
dueDate
|
protected boolean |
isBlocking
|
protected int |
priority
|
static int |
PRIORITY_HIGH
|
static int |
PRIORITY_HIGHEST
|
static int |
PRIORITY_LOW
|
static int |
PRIORITY_LOWEST
|
static int |
PRIORITY_NORMAL
|
protected StartState |
startState
|
protected Swimlane |
swimlane
|
protected TaskController |
taskController
|
protected TaskMgmtDefinition |
taskMgmtDefinition
|
protected TaskNode |
taskNode
|
Fields inherited from class org.jbpm.graph.def.GraphElement |
events, exceptionHandlers, name, processDefinition |
Constructor Summary | |
Task()
|
|
Task(java.lang.String name)
|
Method Summary | |
Delegation |
getAssignmentDelegation()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDueDate()
|
GraphElement |
getParent()
|
int |
getPriority()
|
StartState |
getStartState()
|
java.lang.String[] |
getSupportedEventTypes()
indicative set of event types supported by this graph element. |
Swimlane |
getSwimlane()
|
TaskController |
getTaskController()
|
TaskMgmtDefinition |
getTaskMgmtDefinition()
|
TaskNode |
getTaskNode()
|
boolean |
isBlocking()
|
static int |
parsePriority(java.lang.String priorityText)
|
void |
setAssignmentDelegation(Delegation assignmentDelegation)
sets the swimlane. |
void |
setBlocking(boolean isBlocking)
|
void |
setDescription(java.lang.String description)
|
void |
setDueDate(java.lang.String duedate)
|
void |
setPriority(int priority)
|
void |
setStartState(StartState startState)
|
void |
setSwimlane(Swimlane swimlane)
sets the swimlane unidirectionally. |
void |
setTaskController(TaskController taskController)
|
void |
setTaskMgmtDefinition(TaskMgmtDefinition taskMgmtDefinition)
sets the taskMgmtDefinition unidirectionally. |
void |
setTaskNode(TaskNode taskNode)
sets the taskNode unidirectionally. |
Methods inherited from class org.jbpm.graph.def.GraphElement |
addEvent, addExceptionHandler, findExceptionHandler, fireAndPropagateEvent, fireEvent, getEvent, getEvents, getExceptionHandlers, getId, getName, getParentChain, getParents, getProcessDefinition, hasEvent, hasEvents, raiseException, removeEvent, removeExceptionHandler, reorderExceptionHandler, setName, setProcessDefinition, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int PRIORITY_HIGHEST
public static final int PRIORITY_HIGH
public static final int PRIORITY_NORMAL
public static final int PRIORITY_LOW
public static final int PRIORITY_LOWEST
protected java.lang.String description
protected boolean isBlocking
protected java.lang.String dueDate
protected int priority
protected TaskNode taskNode
protected StartState startState
protected TaskMgmtDefinition taskMgmtDefinition
protected Swimlane swimlane
protected Delegation assignmentDelegation
protected TaskController taskController
Constructor Detail |
public Task()
public Task(java.lang.String name)
Method Detail |
public static int parsePriority(java.lang.String priorityText)
public java.lang.String[] getSupportedEventTypes()
GraphElement
getSupportedEventTypes
in class GraphElement
public void setSwimlane(Swimlane swimlane)
Swimlane.addTask(Task)
.
public void setTaskNode(TaskNode taskNode)
TaskNode.addTask(Task)
to create
a bidirectional relation.
public void setTaskMgmtDefinition(TaskMgmtDefinition taskMgmtDefinition)
public void setAssignmentDelegation(Delegation assignmentDelegation)
public GraphElement getParent()
getParent
in class GraphElement
public TaskMgmtDefinition getTaskMgmtDefinition()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public Swimlane getSwimlane()
public boolean isBlocking()
public void setBlocking(boolean isBlocking)
public TaskNode getTaskNode()
public Delegation getAssignmentDelegation()
public java.lang.String getDueDate()
public void setDueDate(java.lang.String duedate)
public TaskController getTaskController()
public void setTaskController(TaskController taskController)
public int getPriority()
public void setPriority(int priority)
public StartState getStartState()
public void setStartState(StartState startState)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |