A "file is already being copied" failure cause. More...
#include <FileAlreadyBeingCopied.h>
Public Member Functions | |
FileAlreadyBeingCopied (WorkflowFile *file, std::shared_ptr< FileLocation > src, std::shared_ptr< FileLocation > dst) | |
Constructor. More... | |
std::shared_ptr< FileLocation > | getDestinationLocation () |
Getter. More... | |
WorkflowFile * | getFile () |
Getter. More... | |
std::shared_ptr< FileLocation > | getSourceLocation () |
Getter. More... | |
std::string | toString () |
Get the human-readable failure message. More... | |
Detailed Description
A "file is already being copied" failure cause.
Constructor & Destructor Documentation
◆ FileAlreadyBeingCopied()
wrench::FileAlreadyBeingCopied::FileAlreadyBeingCopied | ( | WorkflowFile * | file, |
std::shared_ptr< FileLocation > | src, | ||
std::shared_ptr< FileLocation > | dst | ||
) |
Constructor.
- Parameters
-
file the file that is already being copied src the source location dst the destination location
Member Function Documentation
◆ getDestinationLocation()
std::shared_ptr< FileLocation > wrench::FileAlreadyBeingCopied::getDestinationLocation | ( | ) |
Getter.
- Returns
- the source location
◆ getFile()
WorkflowFile * wrench::FileAlreadyBeingCopied::getFile | ( | ) |
Getter.
- Returns
- the file
◆ getSourceLocation()
std::shared_ptr< FileLocation > wrench::FileAlreadyBeingCopied::getSourceLocation | ( | ) |
Getter.
- Returns
- the source location
◆ toString()
|
virtual |
The documentation for this class was generated from the following files:
- FileAlreadyBeingCopied.h
- FileAlreadyBeingCopied.cpp