checkNotNull(connection, "connection");
this.connection = connection;
}
public List<ProjectBackupDescriptor> listBackups(IntegrationProjectId projectId) {
ProjectBackupTab tab = null;
Converter converter = null;
try {
tab = new ProjectBackupTab(connection);
List<ProjectBackupTabRow> rows = tab.selectBackupsForProject(projectId);
if (!rows.isEmpty()) {
File kongaHome = new File(ServerConfig.getServerHome());
converter = new Converter(connection, kongaHome);
return KongaListUtils.transform(rows, converter);
}