com.arsdigita.bebop.demo.workflow
Class Process
java.lang.Object
com.arsdigita.bebop.demo.workflow.Process
- public class Process
- extends Object
This class is a standin for the proper process template domain
object. Process objects have a key
which identifies them
uniquely, a name
for display to the user, a
description
and contain a set of tasks. Tasks are ordered
simply by the sequence in which they were added to the process.
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/Process.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
Process
public Process(String key,
String name)
getKey
public final String getKey()
setKey
public final void setKey(String v)
addTask
public void addTask(Task t)
addTask
public void addTask(Task t,
boolean chain)
taskCount
public int taskCount()
getTask
public Task getTask(int i)
getTask
public Task getTask(String key)
getDescription
public final String getDescription()
setDescription
public final void setDescription(String s)
getName
public final String getName()
setName
public final void setName(String v)
getNextKey
public static String getNextKey()
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC