public class FileDeleter
extends java.lang.Object
Constructor and Description |
---|
FileDeleter(OmeroContext ctx,
AbstractFileSystemService afs,
com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> deleteTargets) |
Modifier and Type | Method and Description |
---|---|
int |
getFailedFilesCount() |
java.util.HashMap<java.lang.String,long[]> |
getUndeletedFiles() |
java.lang.String |
getWarning() |
protected java.util.Set<java.lang.Long> |
load(ome.services.delete.files.FileDeleter.Type fileType)
Lookup the ids which are scheduled for deletion.
|
void |
run() |
public FileDeleter(OmeroContext ctx, AbstractFileSystemService afs, com.google.common.collect.SetMultimap<java.lang.String,java.lang.Long> deleteTargets)
public void run()
protected java.util.Set<java.lang.Long> load(ome.services.delete.files.FileDeleter.Type fileType)
fileType
- non-nullpublic java.util.HashMap<java.lang.String,long[]> getUndeletedFiles()
public int getFailedFilesCount()
public java.lang.String getWarning()
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.