Class StoragePutResult
- java.lang.Object
-
- fr.gouv.vitam.storage.driver.model.StorageResult
-
- fr.gouv.vitam.storage.driver.model.StorageObjectResult
-
- fr.gouv.vitam.storage.driver.model.StoragePutResult
-
public class StoragePutResult extends StorageObjectResult
Holds result data that come as a result of a request to put an object on the distant storage offer
-
-
Constructor Summary
Constructors Constructor Description StoragePutResult(java.lang.Integer tenantId, java.lang.String type, java.lang.String guid, java.lang.String distantObjectId, java.lang.String digestHashBase16, long objectSize)
Initialize the needed parameters for put results
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDigestHashBase16()
java.lang.String
getDistantObjectId()
long
getObjectSize()
java.lang.String
toString()
-
Methods inherited from class fr.gouv.vitam.storage.driver.model.StorageObjectResult
getGuid
-
Methods inherited from class fr.gouv.vitam.storage.driver.model.StorageResult
getTenantId, getType
-
-
-
-
Constructor Detail
-
StoragePutResult
public StoragePutResult(java.lang.Integer tenantId, java.lang.String type, java.lang.String guid, java.lang.String distantObjectId, java.lang.String digestHashBase16, long objectSize)
Initialize the needed parameters for put results- Parameters:
tenantId
- The request tenantIdtype
- the type The request typeguid
- the object guiddistantObjectId
- The distant object iddigestHashBase16
- the object digest hashobjectSize
- size of the object
-
-
Method Detail
-
getDistantObjectId
public java.lang.String getDistantObjectId()
- Returns:
- the object Id
-
getDigestHashBase16
public java.lang.String getDigestHashBase16()
- Returns:
- the digest
-
getObjectSize
public long getObjectSize()
- Returns:
- the object Size
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-