- Timestamp:
- 2020-07-24T15:57:30+12:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gli/src/org/greenstone/gatherer/file/FileQueue.java
r34288 r34289 85 85 } 86 86 87 /** There are tasks that depend on whether a file copy was succesful, so need to maintain listeners 88 * and need to fire events on successful copy. */ 87 89 public void fireFileCopiedSuccessfully(File new_file) { 88 90 // Send the event off to all the matching Listeners … … 94 96 file_copied_success_listeners.add(listener); 95 97 } 96 97 public void removeFileCopiedSuccessListener(FileCopiedSuccessListener listener) 98 { 98 public void removeFileCopiedSuccessListener(FileCopiedSuccessListener listener) { 99 99 file_copied_success_listeners.remove(listener); 100 100 } … … 426 426 try { 427 427 copyFile(source_file, target_file, true); 428 // let any listeners know that the copy wasn't cancelled and took place without error 428 429 fireFileCopiedSuccessfully(source_file); 429 430 }
Note:
See TracChangeset
for help on using the changeset viewer.