Class StorageMetadata

java.lang.Object
ecmwf.ecpds.mover.plugin.http.StorageMetadata

public class StorageMetadata extends Object
The Class StorageMetadata.
  • Method Details

    • getCreationDate

      public Date getCreationDate()
      Gets the creation date.
      Returns:
      the creation date
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • getType

      public StorageMetadata.Type getType()
      Gets the type.
      Returns:
      the type
    • getLastModified

      public Date getLastModified()
      Gets the last modified.
      Returns:
      the last modified
    • getETag

      public String getETag() throws IOException
      Gets the e tag.
      Returns:
      the e tag
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getSize

      public String getSize()
      Gets the size.
      Returns:
      the size
    • getTier

      public String getTier()
      Gets the tier.
      Returns:
      the tier
    • setTruncated

      public void setTruncated(boolean truncated)
      Sets the truncated.
      Parameters:
      truncated - the new truncated
    • isTruncated

      public boolean isTruncated()
      Checks if is truncated.
      Returns:
      true, if is truncated