Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/07/10 16:11:14 (13 years ago)
Author:
cneumuel
Message:

#1233

  • implemented MockService, MockJob, MockServiceLocator
Location:
branches/HeuristicLab.Hive-3.4/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources

    • Property svn:ignore
      •  

        old new  
        11HeuristicLab.Hive-3.4.suo
         2TestResults
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Hive/3.4/IJob.cs

    r4593 r5062  
    2727namespace HeuristicLab.Hive {
    2828  public interface IJob : INamedItem {
     29
    2930    TimeSpan ExecutionTime { get; }
    3031
     
    4142    /// </summary>
    4243    bool ComputeInParallel { get; set; }
     44
     45    /// <summary>
     46    /// If this is set to true, the job should be Resumed with the child-jobs attatched instead of Started
     47    /// </summary>
     48    bool CollectChildJobs { get; set; }
     49   
     50    void Prepare();
     51
     52    void Start();
     53
     54    void Pause();
     55
     56    void Stop();
     57
     58    void Resume(IEnumerable<IJob> childJobs);
     59
    4360    event EventHandler ComputeInParallelChanged;
    4461
    45     void Run();
    46     void Prepare();
    47     void Start();
    48     void Stop();
    49     void Resume(IEnumerable<IJob> childJobs);
     62    event EventHandler ExecutionTimeChanged;
    5063
    51     event EventHandler JobStopped;
    52     event EventHandler JobFailed;
    53 
     64    event EventHandler ExecutionStateChanged;
     65       
    5466    /// <summary>
    5567    /// When this event occurs the job wants to sleep until all his child jobs are finished
     
    6779    event EventHandler DeleteChildJobs;
    6880   
    69     /// <summary>
    70     /// If this is set to true, the job should be Resumed with the child-jobs attatched instead of Started
    71     /// </summary>
    72     bool CollectChildJobs { get; set; }
     81
    7382  }
    7483}
Note: See TracChangeset for help on using the changeset viewer.