Package org.nuxeo.ecm.core.blob
Class BlobStatus
java.lang.Object
org.nuxeo.ecm.core.blob.BlobStatus
Status associated to a blob in storage.
- Since:
- 11.1
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf the blob can be download for a limited time, until when.The storage class, ornull
for the standard storage class.boolean
Whether the blob can be immediately downloaded.boolean
withDownloadable
(boolean downloadable) withDownloadableUntil
(Instant downloadableUntil) withOngoingRestore
(boolean ongoingRestore) withStorageClass
(String storageClass)
-
Field Details
-
storageClass
-
downloadable
protected boolean downloadable -
downloadableUntil
-
ongoingRestore
protected boolean ongoingRestore
-
-
Constructor Details
-
BlobStatus
public BlobStatus()
-
-
Method Details
-
withStorageClass
-
withDownloadable
-
withDownloadableUntil
-
withOngoingRestore
-
getStorageClass
The storage class, ornull
for the standard storage class. -
isDownloadable
public boolean isDownloadable()Whether the blob can be immediately downloaded. -
getDownloadableUntil
If the blob can be download for a limited time, until when.Returns
null
if the blob is always downloadable, or is not immediately downloadable. -
isOngoingRestore
public boolean isOngoingRestore()
-