Class UploadStatistics


  • public class UploadStatistics
    extends java.lang.Object
    Global statistics about project's uploads
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String URI  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getUploadsCount​(java.lang.String uploadStatus)
      Returns count of uploads finished in given status.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getUploadsCount

        public int getUploadsCount​(java.lang.String uploadStatus)
        Returns count of uploads finished in given status.
        Parameters:
        uploadStatus - status of uploads to be counted
        Returns:
        count of uploads or zero when statistics for given status don't exist
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object