Changeset 4119 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.ExecutionEngine
- Timestamp:
- 07/28/10 17:48:10 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.ExecutionEngine/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.ExecutionEngine/3.3/Executor.cs
r4111 r4119 29 29 using HeuristicLab.Persistence.Default.Xml; 30 30 using System.IO; 31 using HeuristicLab.Core; 31 32 32 33 namespace HeuristicLab.Hive.Client.ExecutionEngine { … … 39 40 public bool JobIsFinished { get; set; } 40 41 41 public bool Running{42 public ExecutionState ExecutionState { 42 43 get { 43 return Job. Running;44 return Job.ExecutionState; 44 45 } 45 46 } … … 88 89 public byte[] GetSnapshot() { 89 90 //if the job is still running, something went VERY bad. 90 if (Job. Running) {91 if (Job.ExecutionState == Core.ExecutionState.Started) { 91 92 return null; 92 93 } else { … … 103 104 public byte[] GetFinishedJob() { 104 105 //Job isn't finished! 105 if (Job. Running) {106 if (Job.ExecutionState == Core.ExecutionState.Started) { 106 107 throw new InvalidStateException("Job is still running"); 107 108 } else { -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Client.ExecutionEngine/3.3/HeuristicLab.Hive.Client.ExecutionEngine-3.3.csproj
r4107 r4119 79 79 <HintPath>..\..\..\..\..\..\..\..\..\Programme\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath> 80 80 </Reference> 81 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 81 82 <Reference Include="HeuristicLab.Persistence-3.3"> 82 83 <HintPath>..\..\..\..\..\..\..\..\..\Programme\HeuristicLab 3.3\HeuristicLab.Persistence-3.3.dll</HintPath>
Note: See TracChangeset
for help on using the changeset viewer.