public class YEnabledTransitionSet.TaskGroup
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
add(YTask task)
Add a task to this group
|
java.util.Set<YAtomicTask> |
getAtomicTasks()
Gets the set of atomic tasks in this group
|
int |
getCompositeTaskCount() |
java.lang.String |
getDeferredChoiceID() |
int |
getEmptyTaskCount() |
java.lang.String |
getID() |
YCompositeTask |
getRandomCompositeTaskFromGroup()
YAWL semantics are that if there is more than one composite task enabled
by a condition, one must be non-deterministically chosen to fire.
|
YAtomicTask |
getRandomEmptyTaskFromGroup() |
boolean |
hasCompositeTasks() |
boolean |
hasEmptyTasks() |
public boolean add(YTask task)
task
- the task to addpublic java.util.Set<YAtomicTask> getAtomicTasks()
public boolean hasEmptyTasks()
public int getCompositeTaskCount()
public int getEmptyTaskCount()
public boolean hasCompositeTasks()
public java.lang.String getID()
public java.lang.String getDeferredChoiceID()
public YCompositeTask getRandomCompositeTaskFromGroup()
public YAtomicTask getRandomEmptyTaskFromGroup()
Copyright © 2004-2014 The YAWL Foundation.