Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/08/11 14:54:17 (13 years ago)
Author:
cneumuel
Message:

#1233

  • updated jobstates documentation
  • enhanced ganttChart
  • fixed setting of jobstates
  • added option to force lifecycle-trigger (mainly for testing purposes)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Common/3.4/DataTransfer/LightweightJob.cs

    r5614 r5636  
    5353      this.State = job.State;
    5454    }
    55 
    56 
    57     public void SetState(JobState state) {
    58       this.State = state;
    59       this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now });
    60     }
    61 
    62     public void SetState(JobState state, Guid userId) {
    63       this.State = state;
    64       this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, UserId = userId });
    65     }
    66 
    67     public void SetState(JobState state, Guid slaveId, string exception) {
    68       this.State = state;
    69       this.StateLog.Add(new StateLog() { State = state, DateTime = DateTime.Now, SlaveId = slaveId, Exception = exception });
    70     }
    7155  }
    7256}
Note: See TracChangeset for help on using the changeset viewer.