com.arsdigita.bebop.demo.workflow
Class Task
java.lang.Object
com.arsdigita.bebop.demo.workflow.Task
- public class Task
- extends Object
This class is a standin for the proper workflow task domain
object. Tasks have exactly one process
they belong to, a
unique key
for internal identification, a name
to display to the user, one assignee
to fake assignments,
and a set of tasks they depend on.
Warning: This class is only meant for demo purposes. It's use
of synchronization will make sure that it becomes a bottleneck under
load.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/bebop/demo/workflow/Task.java#8 $
- Author:
- David Lutterkort
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
Task
public Task(String name)
Task
public Task(String key,
String name)
getProcess
public final Process getProcess()
setProcess
public final void setProcess(Process v)
getKey
public final String getKey()
getName
public final String getName()
setName
public final void setName(String v)
setAssignee
public final void setAssignee(String a)
getAssignee
public final String getAssignee()
addDependency
public void addDependency(Task t)
removeDependency
public void removeDependency(Task t)
getDependency
public Task getDependency(String key)
dependencies
public Iterator dependencies()
dependencyCount
public int dependencyCount()
getNextKey
public static String getNextKey()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC