- Timestamp:
- 12/08/11 18:53:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveClient.cs
r7144 r7156 236 236 } 237 237 }); 238 // execution state does not need to be set. it will be set to Stopped, when all jobs have been downloaded 238 refreshableJob.ExecutionState = ExecutionState.Stopped; 239 } 240 241 public static void ResumeJob(RefreshableJob refreshableJob) { 242 HiveServiceLocator.Instance.CallHiveService(service => { 243 foreach (HiveTask task in refreshableJob.GetAllHiveTasks()) { 244 if (task.Task.State == TaskState.Paused) { 245 service.RestartTask(task.Task.Id); 246 } 247 } 248 }); 249 refreshableJob.ExecutionState = ExecutionState.Started; 239 250 } 240 251
Note: See TracChangeset
for help on using the changeset viewer.