Changeset 1177 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IUserSession.java
- Timestamp:
- 04/25/13 16:59:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/IUserSession.java
r1146 r1177 19 19 /** 20 20 * <p> 21 * TODO comment 21 * A user session represents task executions, i.e. a task instances of a specific user that were 22 * executed in a coherent manner. Therefore, they are an ordered list of task instances where 23 * the order denotes the order of the task executions. 22 24 * </p> 23 25 * … … 27 29 28 30 /** 29 * 31 * <p> 32 * returns the list of task instances executed in the represented session. 33 * </p> 34 * 35 * @return as described 30 36 */ 31 37 public List<ITaskInstance> getExecutedTasks(); 32 38 33 39 /** 34 * 40 * <p> 41 * compares the user session with another one. Two user sessions are only equal, if they 42 * contain the same number of task instances and if each task instance at each position is 43 * equal to the respective other session. 44 * </p> 45 * 46 * @param userSession the session to compare the session to 47 * 48 * @return true if both sessions are equal, false else 35 49 */ 36 50 public boolean equals(IUserSession userSession); 37 51 38 52 /** 39 * 53 * <p> 54 * returns a hash code for the session to be able to store the session in a hash map. 55 * </p> 56 * 57 * @return as described 40 58 */ 41 59 public int hashCode(); 42 60 43 61 /** 44 * 62 * <p> 63 * clones a user session by creating exact clones of each contained instance in their order 64 * </p> 65 * 66 * @return a clone of the session 45 67 */ 46 68 public IUserSession clone();
Note: See TracChangeset
for help on using the changeset viewer.