10 #ifndef WRENCH_FILE_ALREADY_BEING_COPIED_H
11 #define WRENCH_FILE_ALREADY_BEING_COPIED_H
16 #include "wrench/workflow/failure_causes/FailureCause.h"
40 std::shared_ptr<FileLocation> src,
41 std::shared_ptr<FileLocation> dst);
53 std::shared_ptr<FileLocation> src_location;
54 std::shared_ptr<FileLocation> dst_location;
64 #endif //WRENCH_FILE_ALREADY_BEING_COPIED_H
A "file is already being copied" failure cause.
Definition: FileAlreadyBeingCopied.h:32
std::shared_ptr< FileLocation > getSourceLocation()
Getter.
Definition: FileAlreadyBeingCopied.cpp:46
WorkflowFile * getFile()
Getter.
Definition: FileAlreadyBeingCopied.cpp:38
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
FileAlreadyBeingCopied(WorkflowFile *file, std::shared_ptr< FileLocation > src, std::shared_ptr< FileLocation > dst)
Constructor.
Definition: FileAlreadyBeingCopied.cpp:26
std::shared_ptr< FileLocation > getDestinationLocation()
Getter.
Definition: FileAlreadyBeingCopied.cpp:54
std::string toString()
Get the human-readable failure message.
Definition: FileAlreadyBeingCopied.cpp:62
A data file used/produced by a WorkflowTask in a Workflow.
Definition: WorkflowFile.h:26