comparison OrthancFramework/Sources/JobsEngine/IJob.h @ 5364:b5f2122a1334

Added a route to delete completed jobs from history: DELETE /jobs/{id}
author Alain Mazy <am@osimis.io>
date Thu, 20 Jul 2023 10:51:34 +0200
parents b5c502bcaf99
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5362:78aad3916da4 5364:b5f2122a1334
64 const std::string& key) = 0; 64 const std::string& key) = 0;
65 65
66 // This function can only be called if the job has reached its 66 // This function can only be called if the job has reached its
67 // "success" state 67 // "success" state
68 virtual bool DeleteOutput(const std::string& key) = 0; 68 virtual bool DeleteOutput(const std::string& key) = 0;
69
70 // This function can only be called if the job has reached its
71 // "success" state
72 virtual void DeleteAllOutputs() {}
69 }; 73 };
70 } 74 }