Changeset 1733 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskModel.java
- Timestamp:
- 09/05/14 19:33:12 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskModel.java
r1423 r1733 21 21 /** 22 22 * <p> 23 * This class represents a complete task model. A task model within AutoQUEST is usually generated 24 * based on user sessions. Therefore, the task model consists of the user sessions, the models 25 * of the identified tasks, as well as further information about the tasks (e.g. their 26 * occurrence count) for statistical processing. 23 * This class represents a complete task model. A task model within AutoQUEST is 24 * usually generated based on user sessions. Therefore, the task model consists 25 * of the user sessions, the models of the identified tasks, as well as further 26 * information about the tasks (e.g. their occurrence count) for statistical 27 * processing. 27 28 * </p> 28 29 * … … 31 32 public interface ITaskModel extends Cloneable, Serializable { 32 33 33 /** 34 * <p> 35 * returns the user sessions belonging to the model. The return value may be null in the case 36 * no user sessions are associated the the tasks in the model. 37 * </p> 38 * 39 * @return as described 40 */ 41 public List<IUserSession> getUserSessions(); 34 /** 35 * <p> 36 * creates a deep clone of the model including all tasks and user sessions. 37 * </p> 38 * 39 * @return as described 40 */ 41 public ITaskModel clone(); 42 42 43 44 45 * returns the tasks belonging to the model. The return value must not be null. However, 46 * it may be an empty list, if the model is an empty model. 47 48 * 49 50 51 public Collection<ITask> getTasks();43 /** 44 * <p> 45 * returns a list of all metrics calculated by this model for the tasks and 46 * stored in the respective task infos 47 * </p> 48 * 49 * @return as described 50 */ 51 public TaskMetric[] getAllMetrics(); 52 52 53 54 55 * returns additional info for the provided task. The method returns null, if the provided 56 *task does not belong to the model.57 58 59 60 61 53 /** 54 * <p> 55 * returns additional info for the provided task. The method returns null, 56 * if the provided task does not belong to the model. 57 * </p> 58 * 59 * @return as described 60 */ 61 public ITaskInfo getTaskInfo(ITask task); 62 62 63 64 65 * returns a list of all metrics calculated by this model for the tasks and stored in the66 * respective task infos 67 68 * 69 70 71 public TaskMetric[] getAllMetrics();63 /** 64 * <p> 65 * returns the tasks belonging to the model. The return value must not be 66 * null. However, it may be an empty list, if the model is an empty model. 67 * </p> 68 * 69 * @return as described 70 */ 71 public Collection<ITask> getTasks(); 72 72 73 /** 74 * <p> 75 * creates a deep clone of the model including all tasks and user sessions. 76 * </p> 77 * 78 * @return as described 79 */ 80 public ITaskModel clone(); 73 /** 74 * <p> 75 * returns the user sessions belonging to the model. The return value may be 76 * null in the case no user sessions are associated the the tasks in the 77 * model. 78 * </p> 79 * 80 * @return as described 81 */ 82 public List<IUserSession> getUserSessions(); 81 83 82 84 }
Note: See TracChangeset
for help on using the changeset viewer.