Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/12/13 20:35:30 (10 years ago)
Author:
ascheibe
Message:

#2117

  • fixed drag and drop check in the RefreshableHiveJobView to be more generic
  • fixed TaskDownloader to generate the correct HiveTasks when downloading tasks
  • fixed some variable names (job => task) which were forgotten
  • the IsParallelizable property of a task can now be set (e.g. if a task gets parallelized, the generated child tasks should sometimes not be able to get further parallelized)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive/3.3/HiveTasks/HiveTask.cs

    r9819 r10130  
    182182    }
    183183
    184     public HiveTask(ItemTask itemJob, bool autoCreateChildHiveJobs)
     184    public HiveTask(ItemTask itemTask, bool autoCreateChildHiveTasks)
    185185      : this() {
    186       this.syncTasksWithOptimizers = autoCreateChildHiveJobs;
    187       this.ItemTask = itemJob;
     186      this.syncTasksWithOptimizers = autoCreateChildHiveTasks;
     187      this.ItemTask = itemTask;
    188188      this.syncTasksWithOptimizers = true;
    189189    }
    190190
    191     public HiveTask(Task job, TaskData taskData, bool autoCreateChildHiveTasks) {
     191    public HiveTask(Task task, TaskData taskData, bool autoCreateChildHiveTasks) {
    192192      this.syncTasksWithOptimizers = autoCreateChildHiveTasks;
    193       this.Task = job;
     193      this.Task = task;
    194194      try {
    195195        this.ItemTask = PersistenceUtil.Deserialize<ItemTask>(taskData.Data);
     
    545545    public new T ItemTask {
    546546      get { return (T)base.ItemTask; }
    547       internal set { base.ItemTask = value; }
     547      set { base.ItemTask = value; }
    548548    }
    549549
     
    552552    [StorableConstructor]
    553553    protected HiveTask(bool deserializing) { }
    554     public HiveTask(T itemJob) : base(itemJob, true) { }
     554    public HiveTask(T itemTask) : base(itemTask, true) { }
    555555    protected HiveTask(HiveTask<T> original, Cloner cloner)
    556556      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.