Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/08/11 16:38:28 (13 years ago)
Author:
ascheibe
Message:

#1233 more renaming for more consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.3/Manager/PluginManager.cs

    r6721 r6725  
    133133    /// <summary>
    134134    /// Updates the plugin cache with missing plugins and
    135     /// then copies the required plugins for the job.
     135    /// then copies the required plugins for the task.
    136136    /// </summary>       
    137     public void PreparePlugins(Task job, out string configFileName) {
     137    public void PreparePlugins(Task task, out string configFileName) {
    138138      lock (locker) {
    139         log.LogMessage("Fetching plugins for job " + job.Id);
     139        log.LogMessage("Fetching plugins for task " + task.Id);
    140140
    141141        List<Guid> missingGuids = new List<Guid>();
    142142        List<Plugin> neededPlugins = new List<Plugin>();
    143143        lock (cachedPluginsGuids) {
    144           foreach (Guid pluginId in job.PluginsNeededIds) {
     144          foreach (Guid pluginId in task.PluginsNeededIds) {
    145145            Plugin plugin = pluginService.GetPlugin(pluginId);
    146146            if (plugin != null) {
     
    168168            DoUpdateRun();
    169169          }
    170           CopyPluginsForJob(neededPlugins, job.Id, out configFileName);
     170          CopyPluginsForJob(neededPlugins, task.Id, out configFileName);
    171171        } else {
    172172          configFileName = "";
    173173        }
    174         log.LogMessage(string.Format("Fetched {0} plugins for job {1}", missingGuids.Count, job.Id));
     174        log.LogMessage(string.Format("Fetched {0} plugins for task {1}", missingGuids.Count, task.Id));
    175175      }
    176176    }
Note: See TracChangeset for help on using the changeset viewer.