- Timestamp:
- 09/24/12 15:44:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r8341 r8688 533 533 534 534 foreach (HiveTask subTask in job.HiveTasks) { 535 if (subTask is OptimizerHiveTask) { 536 OptimizerHiveTask ohTask = subTask as OptimizerHiveTask; 537 runs.AddRange(ohTask.ItemTask.Item.Runs); 538 } 535 GetAllRunsFromHiveTask(runs, subTask); 539 536 } 540 537 return runs; 541 538 } else { 542 539 return null; 540 } 541 } 542 543 private void GetAllRunsFromHiveTask(RunCollection runs, HiveTask task) { 544 foreach (HiveTask subTask in task.ChildHiveTasks) { 545 GetAllRunsFromHiveTask(runs, subTask); 546 } 547 548 if (task.ChildHiveTasks.Count == 0) { 549 if (task is OptimizerHiveTask) { 550 OptimizerHiveTask ohTask = task as OptimizerHiveTask; 551 runs.AddRange(ohTask.ItemTask.Item.Runs); 552 } 543 553 } 544 554 }
Note: See TracChangeset
for help on using the changeset viewer.