Changeset 1734 for branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/Task.java
- Timestamp:
- 09/05/14 20:20:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/autoquest-core-tasktrees-alignment/src/main/java/de/ugoe/cs/autoquest/tasktrees/treeimpl/Task.java
r1733 r1734 30 30 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskVisitor; 31 31 32 // TODO: Auto-generated Javadoc 32 33 /** 33 34 * <p> … … 58 59 } 59 60 60 /** 61 * <p> 62 * default serial version UID 63 * </p> 64 */ 61 /** <p> default serial version UID </p>. */ 65 62 private static final long serialVersionUID = 1L; 66 63 … … 81 78 private final int id; 82 79 83 /** 84 * <p> 85 * a human readable type of the task (used for visualization purposes) 86 * </p> 87 */ 80 /** <p> a human readable type of the task (used for visualization purposes) </p>. */ 88 81 private final String type; 89 82 90 /** 91 * <p> 92 * a human readable description of the task 93 * </p> 94 */ 83 /** <p> a human readable description of the task </p>. */ 95 84 private String description; 96 85 97 /** 98 * <p> 99 * the instances of this task 100 * </p> 101 */ 86 /** <p> the instances of this task </p>. */ 102 87 private final Collection<ITaskInstance> instances = new HashSet<ITaskInstance>(); 103 88 104 /** 105 * <p> 106 * the execution variants of this task 107 * </p> 108 */ 89 /** <p> the execution variants of this task </p>. */ 109 90 private Collection<Collection<ITaskInstance>> executionVariants; 110 91 … … 114 95 * {@link #getNewId()} method 115 96 * </p> 116 * 117 * @param type 118 * the human readable type of the task 119 * 120 * @throws IllegalArgumentException 121 * in the case the provided type is null 97 * 98 * @param type the human readable type of the task 122 99 */ 123 100 Task(String type) { … … 143 120 * <p> 144 121 * internally used to add an instance to this task 145 * </p> 146 * 147 * @param instance 148 * the instance belonging to this task 122 * </p>. 123 * 124 * @param instance the instance belonging to this task 149 125 */ 150 126 synchronized void addInstance(ITaskInstance instance) { … … 172 148 173 149 /** 174 * 150 * Determine execution variants. 151 * 152 * @param executionVariants the execution variants 175 153 */ 176 154 private void determineExecutionVariants( … … 273 251 274 252 /** 275 * 253 * Checks if is same execution. 254 * 255 * @param instance1 the instance1 256 * @param instance2 the instance2 257 * @return true, if is same execution 276 258 */ 277 259 private boolean isSameExecution(ITaskInstance instance1, … … 327 309 328 310 /** 329 * 311 * Checks if is same execution list. 312 * 313 * @param list1 the list1 314 * @param list2 the list2 315 * @return true, if is same execution list 330 316 */ 331 317 private boolean isSameExecutionList(ITaskInstanceList list1, … … 347 333 * <p> 348 334 * internally used to remove an instance from this task 349 * </p> 350 * 351 * @param instance 352 * the instance to be removed from this task 335 * </p>. 336 * 337 * @param instance the instance to be removed from this task 353 338 */ 354 339 synchronized void removeInstance(ITaskInstance instance) { … … 360 345 * <p> 361 346 * internally used to set the human readable description of the task 362 * </p> 363 * 364 * @param description 365 * the new human readable description of the task 347 * </p>. 348 * 349 * @param description the new human readable description of the task 366 350 */ 367 351 void setDescription(String description) {
Note: See TracChangeset
for help on using the changeset viewer.