Changeset 5614 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/LightweightJob.cs
- Timestamp:
- 03/07/11 12:56:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/LightweightJob.cs
r5526 r5614 24 24 using System.Linq; 25 25 using System.Runtime.Serialization; 26 using HeuristicLab.Common;27 26 28 27 namespace HeuristicLab.Services.Hive.Common.DataTransfer { … … 54 53 this.State = job.State; 55 54 } 56 protected LightweightJob(LightweightJob original, Cloner cloner) 57 : base(original, cloner) { 58 this.ExecutionTime = original.ExecutionTime; 59 this.ParentJobId = original.ParentJobId; 60 this.StateLog = new List<StateLog>(original.StateLog); 61 this.State = original.State; 62 } 63 public override IDeepCloneable Clone(Cloner cloner) { 64 return new LightweightJob(this, cloner); 65 } 55 66 56 67 57 public void SetState(JobState state) {
Note: See TracChangeset
for help on using the changeset viewer.