Changeset 1294 for trunk/autoquest-core-tasktrees/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeifc/ITaskFactory.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/ITaskFactory.java
r1191 r1294 17 17 import java.util.List; 18 18 19 import de.ugoe.cs.autoquest.eventcore.IEventTarget; 20 import de.ugoe.cs.autoquest.eventcore.IEventType; 19 import de.ugoe.cs.autoquest.eventcore.Event; 21 20 22 21 /** … … 31 30 /** 32 31 * <p> 33 * creates a new event task with the given type and target32 * creates a new event task with the given description 34 33 * </p> 35 34 * 36 * @param eventType the type of the event represented by the task 37 * @param eventTarget the target of the event represented by the task 35 * @param description the description for the represented events 38 36 * 39 37 * @return the event task 40 38 */ 41 IEventTask createNewEventTask( IEventType eventType, IEventTarget eventTarget);39 IEventTask createNewEventTask(String description); 42 40 43 41 /** … … 79 77 /** 80 78 * <p> 81 * creates a new task instance with the given task as its model 79 * creates a new task instance with the given task as its model representing the provided event 82 80 * </p> 83 81 * 84 * @param task the model of the task instance to be created 82 * @param task the model of the task instance to be created 83 * @param event the event represented by the task instance 85 84 * 86 85 * @return the task instance 87 86 */ 88 I TaskInstance createNewTaskInstance(ITask task);87 IEventTaskInstance createNewTaskInstance(IEventTask task, Event event); 89 88 90 89 /** 91 90 * <p> 92 * creates a new empty task instance list91 * creates a new task instance with the given sequence as its model 93 92 * </p> 94 93 * 95 * @return the task instance list 94 * @param sequence the model of the task instance to be created 95 * 96 * @return the task instance 96 97 */ 97 ITaskInstanceList createNewTaskInstanceList(); 98 ISequenceInstance createNewTaskInstance(ISequence sequence); 99 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); 110 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); 121 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); 98 132 99 133 /**
Note: See TracChangeset
for help on using the changeset viewer.