| |
|
| java.lang.Object de.danet.an.workflow.internalapi.ThreadInfo
ThreadInfo | public class ThreadInfo implements Serializable(Code) | | This class provides information about the predecessors of an
activity, i.e. about the execution thread.
author: version: $Revision: 1.2 $ |
Method Summary | |
public Set | allPredecessors() Returns the keys of all predecessor activities. | public boolean | includes(String key) Verifies if the given key is among the predecessors.
Parameters: key - the activity to be looked for. | public Set | predecessors() Returns the keys of all immediate predecessor activities. | public Set | predecessorsFor(String origin) Returns the keys of all immediate predecessors that are
successors of the given activity.
Parameters: origin - the activity we are heading back to. | public String | toString() Return string representation for debugging purposes. |
ThreadInfo | public ThreadInfo(Collection predecessors)(Code) | | Creates an instance of ThreadInfo that includes
the given predecessor activities.
Parameters: predecessors - the collection of de.danet.an.workflow.localapi.ActivityLocal Activities thatare to be registered as predecessors (my be null ). |
allPredecessors | public Set allPredecessors()(Code) | | Returns the keys of all predecessor activities.
the keys. |
includes | public boolean includes(String key)(Code) | | Verifies if the given key is among the predecessors.
Parameters: key - the activity to be looked for. true if the given key is among thepredecessors. |
predecessors | public Set predecessors()(Code) | | Returns the keys of all immediate predecessor activities.
the keys. |
predecessorsFor | public Set predecessorsFor(String origin)(Code) | | Returns the keys of all immediate predecessors that are
successors of the given activity.
Parameters: origin - the activity we are heading back to. the keys. |
toString | public String toString()(Code) | | Return string representation for debugging purposes.
a string representation. |
|
|
|