Changeset 1191 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskFactory.java
- Timestamp:
- 04/29/13 17:18:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskFactory.java
r1146 r1191 21 21 22 22 /** 23 * TODO comment 23 * <p> 24 * factory for the different task types 25 * </p> 24 26 * 25 * @version $Revision: $ $Date: 21.02.2012$ 26 * @author 2012, last modified by $Author: patrick$ 27 * @author Patrick Harms 27 28 */ 28 29 public interface ITaskFactory { 29 30 30 31 /** 32 * <p> 33 * creates a new event task with the given type and target 34 * </p> 31 35 * 32 * @param eventType 33 * @param eventTarget 34 * @return 36 * @param eventType the type of the event represented by the task 37 * @param eventTarget the target of the event represented by the task 38 * 39 * @return the event task 35 40 */ 36 41 IEventTask createNewEventTask(IEventType eventType, IEventTarget eventTarget); 37 42 38 43 /** 44 * <p> 45 * creates a new empty sequence 46 * </p> 39 47 * 40 * @return 48 * @return the sequence 41 49 */ 42 50 ISequence createNewSequence(); 43 51 44 52 /** 53 * <p> 54 * creates a new empty iteration 55 * </p> 45 56 * 46 * @return 57 * @return the iteration 47 58 */ 48 59 IIteration createNewIteration(); 49 60 50 61 /** 62 * <p> 63 * creates a new empty optional 64 * </p> 51 65 * 52 * @return 66 * @return the optional 53 67 */ 54 68 IOptional createNewOptional(); 55 69 56 70 /** 71 * <p> 72 * creates a new empty selection 73 * </p> 57 74 * 58 * @return 75 * @return the selection 59 76 */ 60 77 ISelection createNewSelection(); 61 78 62 79 /** 80 * <p> 81 * creates a new task instance with the given task as its model 82 * </p> 63 83 * 64 * @return 84 * @param task the model of the task instance to be created 85 * 86 * @return the task instance 65 87 */ 66 88 ITaskInstance createNewTaskInstance(ITask task); 67 89 68 90 /** 69 * 70 * @return 91 * <p> 92 * creates a new empty task instance list 93 * </p> 94 * 95 * @return the task instance list 71 96 */ 72 97 ITaskInstanceList createNewTaskInstanceList(); 73 98 74 99 /** 100 * <p> 101 * creates a new empty user session 102 * </p> 75 103 * 76 * @return 104 * @return the user session 77 105 */ 78 106 IUserSession createUserSession(); 79 107 80 108 /** 109 * <p> 110 * creates a task model based on the provided user sessions 111 * </p> 81 112 * 82 * @param rootSequence 83 * @return 113 * @param userSessions the session based on which the task model shall be created 114 * 115 * @return the task model 84 116 */ 85 117 ITaskModel createTaskModel(List<IUserSession> userSessions);
Note: See TracChangeset
for help on using the changeset viewer.