diff Core/JobsEngine/IJob.h @ 3658:2d90dd30858c storage-commitment

providing job ID to the IJob::Step() methods
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Feb 2020 16:44:26 +0100
parents 94f4a18a79cc
children
line wrap: on
line diff
--- a/Core/JobsEngine/IJob.h	Mon Feb 10 14:53:36 2020 +0100
+++ b/Core/JobsEngine/IJob.h	Mon Feb 10 16:44:26 2020 +0100
@@ -50,7 +50,7 @@
     // Method called once the job enters the jobs engine
     virtual void Start() = 0;
     
-    virtual JobStepResult Step() = 0;
+    virtual JobStepResult Step(const std::string& jobId) = 0;
 
     // Method called once the job is resubmitted after a failure
     virtual void Reset() = 0;