11 #ifndef WRENCH_FILE_COPY_FAILED_EVENT_H
12 #define WRENCH_FILE_COPY_FAILED_EVENT_H
15 #include "wrench/failure_causes/FailureCause.h"
35 class FileRegistryService;
37 class FileRegistryService;
56 std::shared_ptr<FileLocation>
src,
57 std::shared_ptr<FileLocation>
dst,
66 std::shared_ptr<DataFile>
file;
68 std::shared_ptr<FileLocation>
src;
70 std::shared_ptr<FileLocation>
dst;
79 return "FileCopyFailedEvent (file: " + this->file->getID() +
80 "; src = " + this->src->toString() +
81 "; dst = " + this->dst->toString() +
82 "; cause: " + this->failure_cause->toString() +
")";}
95 #endif //WRENCH_FILE_COPY_FAILED_EVENT_H
std::shared_ptr< FailureCause > failure_cause
The cause of the failure.
Definition: FileCopyFailedEvent.h:72
std::shared_ptr< FileLocation > src
The source location.
Definition: FileCopyFailedEvent.h:68
std::shared_ptr< FileLocation > dst
The destination location.
Definition: FileCopyFailedEvent.h:70
A "file copy has failed" ExecutionEvent.
Definition: FileCopyFailedEvent.h:43
Definition: Action.cpp:28
std::string toString() override
Get a textual description of the event.
Definition: FileCopyFailedEvent.h:78
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: ExecutionEvent.h:26
std::shared_ptr< DataFile > file
The workflow file that has failed to be copied.
Definition: FileCopyFailedEvent.h:66