wrench::FileCopyAction

class FileCopyAction : public wrench::Action

A class that implements a file copy action.

Public Functions

std::shared_ptr<FileLocation> getDestinationFileLocation() const

Returns the action’s destination file location.

Returns

A file location

std::shared_ptr<DataFile> getFile() const

Returns the action’s file.

Returns

the file

std::shared_ptr<FileLocation> getSourceFileLocation() const

Returns the action’s source file location.

Returns

A file location

virtual bool usesScratch() const override

Determine whether the action uses scratch.

Returns

true if the action uses scratch, false otherwise