comparison Core/JobsEngine/JobsRegistry.h @ 3240:e44e0127e553

Fix issue #134 (/patient/modify gives 500, should really be 400)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 Feb 2019 17:26:45 +0100
parents fca730c267d7
children 94f4a18a79cc
comparison
equal deleted inserted replaced
3239:407e1a188105 3240:e44e0127e553
173 int priority); 173 int priority);
174 174
175 void Submit(IJob* job, // Takes ownership 175 void Submit(IJob* job, // Takes ownership
176 int priority); 176 int priority);
177 177
178 bool SubmitAndWait(Json::Value& successContent, 178 void SubmitAndWait(Json::Value& successContent,
179 IJob* job, // Takes ownership 179 IJob* job, // Takes ownership
180 int priority); 180 int priority);
181 181
182 bool SetPriority(const std::string& id, 182 bool SetPriority(const std::string& id,
183 int priority); 183 int priority);
246 246
247 void MarkCanceled(); 247 void MarkCanceled();
248 248
249 void MarkRetry(unsigned int timeout); 249 void MarkRetry(unsigned int timeout);
250 250
251 void UpdateStatus(ErrorCode code); 251 void UpdateStatus(ErrorCode code,
252 const std::string& details);
252 }; 253 };
253 }; 254 };
254 } 255 }