10 #ifndef WRENCH_FILE_ALREADY_BEING_COPIED_H
11 #define WRENCH_FILE_ALREADY_BEING_COPIED_H
16 #include "FailureCause.h"
40 std::shared_ptr<FileLocation> src,
41 std::shared_ptr<FileLocation> dst);
46 std::shared_ptr<DataFile>
getFile();
52 std::shared_ptr<DataFile>file;
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< DataFile > getFile()
Getter.
Definition: FileAlreadyBeingCopied.cpp:38
std::shared_ptr< FileLocation > getSourceLocation()
Getter.
Definition: FileAlreadyBeingCopied.cpp:46
FileAlreadyBeingCopied(std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > src, std::shared_ptr< FileLocation > dst)
Constructor.
Definition: FileAlreadyBeingCopied.cpp:26
Definition: Action.cpp:28
std::string toString() override
Get the human-readable failure message.
Definition: FileAlreadyBeingCopied.cpp:62
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
std::shared_ptr< FileLocation > getDestinationLocation()
Getter.
Definition: FileAlreadyBeingCopied.cpp:54