Skip to content
Snippets Groups Projects
Commit 731372cd authored by Jan Kozusznik's avatar Jan Kozusznik
Browse files

Demeter law application

parent c61ac123
No related branches found
No related tags found
No related merge requests found
...@@ -253,10 +253,10 @@ public class HaaSClient { ...@@ -253,10 +253,10 @@ public class HaaSClient {
} }
String fileToDownload = "'" + ft.getSharedBasepath() + "/" + fileName + "'"; String fileToDownload = "'" + ft.getSharedBasepath() + "/" + fileName + "'";
String item; String item;
notifier.addItem(item = fileName); progress.addItem(item = fileName);
progress.startNewFile(fileSizes.get(idx)); progress.startNewFile(fileSizes.get(idx));
scpClient.download(fileToDownload, rFile, progress); scpClient.download(fileToDownload, rFile, progress);
notifier.itemDone(item); progress.itemDone(item);
idx++; idx++;
} }
} }
......
...@@ -50,4 +50,12 @@ class TransferFileProgressForHaaSClient implements TransferFileProgress { ...@@ -50,4 +50,12 @@ class TransferFileProgressForHaaSClient implements TransferFileProgress {
} }
return result; return result;
} }
public void addItem(String item) {
notifier.addItem(item);
}
public void itemDone(String item) {
notifier.itemDone(item);
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment