Changeset 1733 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskFactory.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/ITaskFactory.java
r1294 r1733 28 28 public interface ITaskFactory { 29 29 30 /** 31 * <p> 32 * creates a new event task with the given description 33 * </p> 34 * 35 * @param description the description for the represented events 36 * 37 * @return the event task 38 */ 39 IEventTask createNewEventTask(String description); 30 /** 31 * <p> 32 * creates a new event task with the given description 33 * </p> 34 * 35 * @param description 36 * the description for the represented events 37 * 38 * @return the event task 39 */ 40 IEventTask createNewEventTask(String description); 40 41 41 42 43 * creates a new empty sequence 44 45 46 * @return the sequence 47 48 ISequence createNewSequence();42 /** 43 * <p> 44 * creates a new empty iteration 45 * </p> 46 * 47 * @return the iteration 48 */ 49 IIteration createNewIteration(); 49 50 50 51 52 * creates a new empty iteration 53 54 55 * @return the iteration 56 57 IIteration createNewIteration();51 /** 52 * <p> 53 * creates a new empty optional 54 * </p> 55 * 56 * @return the optional 57 */ 58 IOptional createNewOptional(); 58 59 59 60 61 * creates a new empty optional 62 63 64 * @return the optional 65 66 IOptional createNewOptional();60 /** 61 * <p> 62 * creates a new empty selection 63 * </p> 64 * 65 * @return the selection 66 */ 67 ISelection createNewSelection(); 67 68 68 69 70 * creates a new empty selection 71 72 73 * @return the selection 74 75 ISelection createNewSelection();69 /** 70 * <p> 71 * creates a new empty sequence 72 * </p> 73 * 74 * @return the sequence 75 */ 76 ISequence createNewSequence(); 76 77 77 /** 78 * <p> 79 * creates a new task instance with the given task as its model representing the provided event 80 * </p> 81 * 82 * @param task the model of the task instance to be created 83 * @param event the event represented by the task instance 84 * 85 * @return the task instance 86 */ 87 IEventTaskInstance createNewTaskInstance(IEventTask task, Event event); 78 /** 79 * <p> 80 * creates a new task instance with the given task as its model representing 81 * the provided event 82 * </p> 83 * 84 * @param task 85 * the model of the task instance to be created 86 * @param event 87 * the event represented by the task instance 88 * 89 * @return the task instance 90 */ 91 IEventTaskInstance createNewTaskInstance(IEventTask task, Event event); 88 92 89 /** 90 * <p> 91 * creates a new task instance with the given sequence as its model 92 * </p> 93 * 94 * @param sequence the model of the task instance to be created 95 * 96 * @return the task instance 97 */ 98 ISequenceInstance createNewTaskInstance(ISequence sequence); 93 /** 94 * <p> 95 * creates a new task instance with the given iteration as its model 96 * </p> 97 * 98 * @param iteration 99 * the model of the task instance to be created 100 * 101 * @return the task instance 102 */ 103 IIterationInstance createNewTaskInstance(IIteration iteration); 99 104 100 /** 101 * <p> 102 * creates a new task instance with the given iteration as its model 103 * </p> 104 * 105 * @param iteration the model of the task instance to be created 106 * 107 * @return the task instance 108 */ 109 IIterationInstance createNewTaskInstance(IIteration iteration); 105 /** 106 * <p> 107 * creates a new task instance with the given optional as its model 108 * </p> 109 * 110 * @param optional 111 * the model of the task instance to be created 112 * 113 * @return the task instance 114 */ 115 IOptionalInstance createNewTaskInstance(IOptional optional); 110 116 111 /** 112 * <p> 113 * creates a new task instance with the given optional as its model 114 * </p> 115 * 116 * @param optional the model of the task instance to be created 117 * 118 * @return the task instance 119 */ 120 IOptionalInstance createNewTaskInstance(IOptional optional); 117 /** 118 * <p> 119 * creates a new task instance with the given selection as its model 120 * </p> 121 * 122 * @param selection 123 * the model of the task instance to be created 124 * 125 * @return the task instance 126 */ 127 ISelectionInstance createNewTaskInstance(ISelection selection); 121 128 122 /** 123 * <p> 124 * creates a new task instance with the given selection as its model 125 * </p> 126 * 127 * @param selection the model of the task instance to be created 128 * 129 * @return the task instance 130 */ 131 ISelectionInstance createNewTaskInstance(ISelection selection); 129 /** 130 * <p> 131 * creates a new task instance with the given sequence as its model 132 * </p> 133 * 134 * @param sequence 135 * the model of the task instance to be created 136 * 137 * @return the task instance 138 */ 139 ISequenceInstance createNewTaskInstance(ISequence sequence); 132 140 133 /** 134 * <p> 135 * creates a new empty user session 136 * </p> 137 * 138 * @return the user session 139 */ 140 IUserSession createUserSession(); 141 /** 142 * <p> 143 * creates a task model based on the provided user sessions 144 * </p> 145 * 146 * @param userSessions 147 * the session based on which the task model shall be created 148 * 149 * @return the task model 150 */ 151 ITaskModel createTaskModel(List<IUserSession> userSessions); 141 152 142 /** 143 * <p> 144 * creates a task model based on the provided user sessions 145 * </p> 146 * 147 * @param userSessions the session based on which the task model shall be created 148 * 149 * @return the task model 150 */ 151 ITaskModel createTaskModel(List<IUserSession> userSessions); 153 /** 154 * <p> 155 * creates a new empty user session 156 * </p> 157 * 158 * @return the user session 159 */ 160 IUserSession createUserSession(); 152 161 153 162 }
Note: See TracChangeset
for help on using the changeset viewer.