public class DownloadStatus extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DownloadStatus.Status |
Constructor and Description |
---|
DownloadStatus(DownloadStatus.Status status,
long done,
long total,
long filesAdded,
long totalFiles)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
long |
getDone() |
long |
getFilesAdded() |
long |
getPercentageComplete() |
DownloadStatus.Status |
getStatus() |
long |
getTotal() |
long |
getTotalFiles() |
boolean |
isComplete() |
public DownloadStatus(DownloadStatus.Status status, long done, long total, long filesAdded, long totalFiles)
status
- Current status of the downloaddone
- Done counttotal
- Total to be de donefilesAdded
- Number of files added to the archivetotalFiles
- The number of files that will eventually be added to the archivepublic long getPercentageComplete()
public boolean isComplete()
public DownloadStatus.Status getStatus()
public long getDone()
public long getTotal()
public long getTotalFiles()
public long getFilesAdded()
Copyright © 2005–2017 Alfresco Software. All rights reserved.