|
|||||||||
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
public class Task
defines a task and how the actor must be calculated at runtime.
Field Summary | |
---|---|
protected java.lang.String |
actorIdExpression
|
protected Delegation |
assignmentDelegation
|
protected java.lang.String |
description
|
protected java.lang.String |
dueDate
|
protected boolean |
isBlocking
|
protected boolean |
isSignalling
|
protected java.lang.String |
pooledActorsExpression
|
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 | |
---|---|
java.lang.String |
getActorIdExpression()
|
Delegation |
getAssignmentDelegation()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDueDate()
|
GraphElement |
getParent()
|
java.lang.String |
getPooledActorsExpression()
|
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()
|
boolean |
isSignalling()
|
static int |
parsePriority(java.lang.String priorityText)
|
void |
setActorIdExpression(java.lang.String actorIdExpression)
sets the actorId expression. |
void |
setAssignmentDelegation(Delegation assignmentDelegation)
sets the swimlane. |
void |
setBlocking(boolean isBlocking)
|
void |
setDescription(java.lang.String description)
|
void |
setDueDate(java.lang.String duedate)
|
void |
setPooledActorsExpression(java.lang.String pooledActorsExpression)
sets the actorId expression. |
void |
setPriority(int priority)
|
void |
setSignalling(boolean isSignalling)
|
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, equals, executeAction, 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, 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 boolean isSignalling
protected java.lang.String dueDate
protected int priority
protected TaskNode taskNode
protected StartState startState
protected TaskMgmtDefinition taskMgmtDefinition
protected Swimlane swimlane
protected java.lang.String actorIdExpression
protected java.lang.String pooledActorsExpression
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 setTaskNode(TaskNode taskNode)
TaskNode.addTask(Task)
to create
a bidirectional relation.
public void setTaskMgmtDefinition(TaskMgmtDefinition taskMgmtDefinition)
public void setAssignmentDelegation(Delegation assignmentDelegation)
public void setActorIdExpression(java.lang.String actorIdExpression)
public void setPooledActorsExpression(java.lang.String pooledActorsExpression)
public void setSwimlane(Swimlane swimlane)
Swimlane.addTask(Task)
.
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 java.lang.String getActorIdExpression()
public java.lang.String getPooledActorsExpression()
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)
public boolean isSignalling()
public void setSignalling(boolean isSignalling)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |