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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf the blob can be download for a limited time, until when.The storage class, ornullfor the standard storage class.booleanWhether the blob can be immediately downloaded.booleanwithDownloadable(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, ornullfor 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
nullif the blob is always downloadable, or is not immediately downloadable. -
isOngoingRestore
public boolean isOngoingRestore()
-