11 #ifndef WRENCH_FILE_COPY_FAILED_EVENT_H
12 #define WRENCH_FILE_COPY_FAILED_EVENT_H
15 #include "wrench/workflow/failure_causes/FailureCause.h"
35 class FileRegistryService;
37 class FileRegistryService;
56 std::shared_ptr<FileLocation>
src,
57 std::shared_ptr<FileLocation>
dst,
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
WorkflowFile * file
The workflow file that has failed to be copied.
Definition: FileCopyFailedEvent.h:66
std::shared_ptr< FileLocation > dst
The destination location.
Definition: FileCopyFailedEvent.h:70
A "file copy has failed" WorkflowExecutionEvent.
Definition: FileCopyFailedEvent.h:43
std::string toString() override
Get a textual description of the event.
Definition: FileCopyFailedEvent.h:78
std::string getID()
Get the file id.
Definition: WorkflowFile.cpp:44
A data file used/produced by a WorkflowTask in a Workflow.
Definition: WorkflowFile.h:26
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: WorkflowExecutionEvent.h:26