public class FileDeleter
extends java.lang.Object
Constructor and Description |
---|
FileDeleter(ome.system.OmeroContext ctx,
ome.io.nio.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(ome.system.OmeroContext ctx, ome.io.nio.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()