Changeset 1294 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskInstance.java
- Timestamp:
- 08/14/13 17:04:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskInstance.java
r1177 r1294 15 15 package de.ugoe.cs.autoquest.tasktrees.treeifc; 16 16 17 import java. util.List;17 import java.io.Serializable; 18 18 19 19 /** 20 20 * <p> 21 21 * a task instance represents the execution of a specific task within a user session. A task 22 * instance is always related to the task that was executed. A task instance may have children 23 * but only if its related task allows to have children. For example, if the represented task is 24 * a sequence then task instance has children and these are instances of the tasks being the 25 * children of the related sequence. 26 * </p> 27 * <p> 28 * An instance of a sequence has the same number of children as the related sequence. An instance 29 * of a selection has only one child which is an instance of exactly one variant contained in the 30 * related selection. An instance of an iteration has zero or more instances of the same task 31 * as children where the task is the child of the related iteration. An instance of an optional 32 * has zero or one child where the task related to child is the child of the optional. A task 33 * instance related to an event task does not have children. 22 * instance is always related to the task that was executed. 34 23 * </p> 35 24 * 36 25 * @author Patrick Harms 37 26 */ 38 public interface ITaskInstance extends ITaskInstanceList { 39 40 /** 41 * <p> 42 * returns the children of the task instance if any. See class description for how many 43 * children can be expected. May return null. 44 * </p> 45 * 46 * @return as described 47 */ 48 public List<ITaskInstance> getChildren(); 27 public interface ITaskInstance extends Serializable, Cloneable { 49 28 50 29 /**
Note: See TracChangeset
for help on using the changeset viewer.