Package com.alfresco.content.models
Class Download
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class Download
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumDownload.StatusEnumthe current status of the download node creation Values: PENDING, CANCELLED, IN_PROGRESS, DONE, MAX_CONTENT_SIZE_EXCEEDED
-
Field Summary
Fields Modifier and Type Field Description private IntegerfilesAddedprivate IntegerbytesAddedprivate Stringidprivate IntegertotalFilesprivate IntegertotalBytesprivate Download.StatusEnumstatus
-
Method Summary
Modifier and Type Method Description final IntegergetFilesAdded()number of files added so far in the zip final UnitsetFilesAdded(@Json(name = "filesAdded") Integer filesAdded)number of files added so far in the zip final IntegergetBytesAdded()number of bytes added so far in the zip final UnitsetBytesAdded(@Json(name = "bytesAdded") Integer bytesAdded)number of bytes added so far in the zip final StringgetId()the id of the download node final UnitsetId(@Json(name = "id") String id)the id of the download node final IntegergetTotalFiles()the total number of files to be added in the zip final UnitsetTotalFiles(@Json(name = "totalFiles") Integer totalFiles)the total number of files to be added in the zip final IntegergetTotalBytes()the total number of bytes to be added in the zip final UnitsetTotalBytes(@Json(name = "totalBytes") Integer totalBytes)the total number of bytes to be added in the zip final Download.StatusEnumgetStatus()the current status of the download node creation final UnitsetStatus(@Json(name = "status") Download.StatusEnum status)the current status of the download node creation -
-
Method Detail
-
getFilesAdded
final Integer getFilesAdded()
number of files added so far in the zip
-
setFilesAdded
final Unit setFilesAdded(@Json(name = "filesAdded") Integer filesAdded)
number of files added so far in the zip
-
getBytesAdded
final Integer getBytesAdded()
number of bytes added so far in the zip
-
setBytesAdded
final Unit setBytesAdded(@Json(name = "bytesAdded") Integer bytesAdded)
number of bytes added so far in the zip
-
getTotalFiles
final Integer getTotalFiles()
the total number of files to be added in the zip
-
setTotalFiles
final Unit setTotalFiles(@Json(name = "totalFiles") Integer totalFiles)
the total number of files to be added in the zip
-
getTotalBytes
final Integer getTotalBytes()
the total number of bytes to be added in the zip
-
setTotalBytes
final Unit setTotalBytes(@Json(name = "totalBytes") Integer totalBytes)
the total number of bytes to be added in the zip
-
getStatus
final Download.StatusEnum getStatus()
the current status of the download node creation
-
setStatus
final Unit setStatus(@Json(name = "status") Download.StatusEnum status)
the current status of the download node creation
-
-
-
-