Skip to content
Snippets Groups Projects
Commit 4083f4e5 authored by Michael Davis's avatar Michael Davis
Browse files

[os-generic-queues] Implements RetrieveJob::ReportType

parent 05048e54
No related branches found
Tags v3.1-14
No related merge requests found
......@@ -92,19 +92,12 @@ std::string cta::RetrieveJob::reportURL() {
// ArchiveJob::reportType
//------------------------------------------------------------------------------
std::string cta::RetrieveJob::reportType() {
throw std::runtime_error("RetrieveJob::reportType(): not implemented");
#if 0
switch (m_dbJob->reportType) {
case SchedulerDatabase::ArchiveJob::ReportType::CompletionReport:
return "CompletionReport";
case SchedulerDatabase::ArchiveJob::ReportType::FailureReport:
return "ErrorReport";
default:
{
throw exception::Exception("In ArchiveJob::reportType(): job status does not require reporting.");
}
switch(m_dbJob->reportType) {
case SchedulerDatabase::RetrieveJob::ReportType::FailureReport:
return "FailureReport";
default:
throw exception::Exception("In RetrieveJob::reportType(): job status does not require reporting.");
}
#endif
}
//------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment