Changeset 1309:118b88ae257a
- Timestamp:
- 07/06/10 15:54:12 (3 years ago)
- Author:
- Thomas Gambet <tgambet@…>
- Branch:
- default
- Message:
-
removed mergeSubtask method
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r1126
|
r1309
|
|
| 321 | 321 | } |
| 322 | 322 | return supportedMimeTypes; |
| 323 | | } |
| 324 | | |
| 325 | | public void mergeSubtask(final Map<String, Task> mapOfTask, Task subtask) { |
| 326 | | for (TLTExec exec : subtask.getTree().getExecutionList()) { |
| 327 | | if (exec.getType().equals("observation")) { |
| 328 | | this.root.addExec(exec); |
| 329 | | } else if (exec.getType().equals("subtask")) { |
| 330 | | Task newTask = mapOfTask.get(exec.getValue()); |
| 331 | | newTask.expandNode(mapOfTask, newTask.getTree()); |
| 332 | | mergeSubtask(mapOfTask, newTask); |
| 333 | | } |
| 334 | | |
| 335 | | } |
| 336 | | for (TLTIf tltIf : subtask.getTree().getIfList()) { |
| 337 | | this.root.addIf(tltIf); |
| 338 | | } |
| 339 | 323 | } |
| 340 | 324 | |
| … |
… |
|
| 432 | 416 | } |
| 433 | 417 | |
| 434 | | /*public void setOutputList(List<String> observationList) { |
| 435 | | this.listOfOutput = observationList; |
| 436 | | } |
| 437 | | |
| 438 | | public List<String> getListOfOutput() { |
| 439 | | return listOfOutput; |
| 440 | | }*/ |
| 441 | | |
| 442 | 418 | public void setOutput(Output output) { |
| 443 | 419 | this.output = output; |