public function getDescription()
{
$envName = $this->Environment()->getFullName();
if ($this->Direction == 'get') {
if ($this->Origin == 'ManualUpload') {
$description = 'Manual upload of ' . $this->getModeNice() . ' to ' . $envName;
} elseif ($this->IsBackupDataTransfer()) {
$description = 'Automated backup of ' . $this->getModeNice() . ' from ' . $envName;
} else {
$description = 'Backup of ' . $this->getModeNice() . ' to ' . $envName;
}
} else {
$description = 'Restore ' . $this->getModeNice() . ' to ' . $envName;
}
return $description;
}