Class Upload


  • public class Upload
    extends Object
    Contains information about single dataset upload. Deserialization only.
    • Field Detail

      • URI_TEMPLATE

        public static final org.springframework.web.util.UriTemplate URI_TEMPLATE
    • Method Detail

      • getUri

        public String getUri()
        Returns:
        uri link to self
      • getStatus

        public String getStatus()
        Returns:
        upload status
      • getProgress

        public double getProgress()
        Returns:
        upload progress in percent as floating point number
      • getMessage

        public String getMessage()
        Returns:
        error message if the upload failed, null otherwise
      • getSize

        public Integer getSize()
        Returns:
        size of the data uploaded by this upload
      • getCreatedAt

        public org.joda.time.DateTime getCreatedAt()
        Returns:
        date of creation of this upload
      • getProcessedAt

        public org.joda.time.DateTime getProcessedAt()
        Returns:
        date when the upload was processed or null if upload is still being processed