Changeset 1024
- Timestamp:
- 12/18/08 14:19:46 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Hive.Contracts/ApplicationConstants.cs ¶
r1004 r1024 51 51 public static string RESPONSE_JOB_JOB_DOESNT_EXIST = "JobDoesntExist"; 52 52 public static string RESPONSE_JOB_JOB_REMOVED = "Job.JobRemoved"; 53 public static string RESPONSE_JOB_JOBSTATE_MUST_BE_OFFLINE = "Job.JobStateMustBeOffline"; 53 54 } 54 55 } -
TabularUnified trunk/sources/HeuristicLab.Hive.Contracts/HiveServerMessages.resx ¶
r1004 r1024 223 223 <value>There exists no job with this id</value> 224 224 </data> 225 <data name="Job.JobStateMustBeOffline" xml:space="preserve"> 226 <value>The state of the job must be offline</value> 227 </data> 225 228 </root> -
TabularUnified trunk/sources/HeuristicLab.Hive.Server.Core/JobManager.cs ¶
r995 r1024 54 54 55 55 if (job != null) { 56 if (job.State != State.offline) { 57 response.Success = false; 58 response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOBSTATE_MUST_BE_OFFLINE; 59 return response; 60 } 56 61 if (job.Id != 0) { 57 62 response.Success = false;
Note: See TracChangeset
for help on using the changeset viewer.