Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/25/09 12:29:58 (15 years ago)
Author:
svonolfe
Message:

Small refactoring (#372)

File:
1 edited

Legend:

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

    r2086 r2092  
    7474
    7575        if (job != null) {
    76           ComputableJob computableJob =
    77               new ComputableJob();
     76          SerializedJob computableJob =
     77              new SerializedJob();
    7878          computableJob.JobInfo =
    7979            job;
     
    8282          if (lastJobResult != null) {
    8383            computableJob.JobInfo.Percentage = lastJobResult.Percentage;
    84             computableJob.SerializedJob = lastJobResult.Result;
     84            computableJob.SerializedJobData = lastJobResult.Result;
    8585
    8686            jobAdapter.UpdateComputableJob(computableJob);
     
    196196    /// <param name="job"></param>
    197197    /// <returns></returns>
    198     public ResponseObject<Job> AddNewJob(ComputableJob job) {
     198    public ResponseObject<Job> AddNewJob(SerializedJob job) {
    199199      ISession session = factory.GetSessionForCurrentThread();
    200200
     
    216216            return response;
    217217          }
    218           if (job.SerializedJob == null) {
     218          if (job.SerializedJobData == null) {
    219219            response.StatusMessage = ApplicationConstants.RESPONSE_JOB_JOB_NULL;
    220220            response.Success = false;
Note: See TracChangeset for help on using the changeset viewer.