Ignore:
Timestamp:
01/14/09 16:05:26 (12 years ago)
Author:
svonolfe
Message:

Added execution engine facade (#465)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/JobManager.cs

    r1024 r1120  
    6464          return response;
    6565        }
     66        if (job.SerializedJob == null) {
     67          response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
     68          response.Success = false;
     69          return response;
     70        }
     71
    6672        jobAdapter.Update(job);
    6773        response.Success = true;
    6874        response.Obj = job;
    6975        response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_ADDED;
    70         return response;
     76      } else {
     77        response.Success = false;
     78        response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
    7179      }
    72       response.Success = false;
    73       response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
    7480
    7581      return response;
Note: See TracChangeset for help on using the changeset viewer.