Class FastDownloadResult
- java.lang.Object
-
- ch.ethz.sis.openbis.generic.dssapi.v3.fastdownload.FastDownloadResult
-
public class FastDownloadResult extends java.lang.ObjectThe result of a download session.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDownloadSessionId()Returns the download session ID.java.lang.StringgetFileTransferUserSessionId()Returns the user session ID.java.util.Map<IDataSetFileId,java.nio.file.Path>getPathsById()Returns the map of data set file IDs to local download paths.ch.ethz.sis.filetransfer.DownloadStatusgetStatus()Returns the status of the download session.java.lang.StringtoString()
-
-
-
Method Detail
-
getStatus
public ch.ethz.sis.filetransfer.DownloadStatus getStatus()
Returns the status of the download session.
-
getPathsById
public java.util.Map<IDataSetFileId,java.nio.file.Path> getPathsById()
Returns the map of data set file IDs to local download paths.- Returns:
- an empty map if the download status isn't FINISHED.
-
getFileTransferUserSessionId
public java.lang.String getFileTransferUserSessionId()
Returns the user session ID.
-
getDownloadSessionId
public java.lang.String getDownloadSessionId()
Returns the download session ID.- Returns:
nullif the download status is NEW.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-