Class DataRetentionInfoDao.JobStatusGroupInfo

  • Enclosing class:
    DataRetentionInfoDao

    public static class DataRetentionInfoDao.JobStatusGroupInfo
    extends Object
    Provides a job status aggregation group info reporting class
    Since:
    4.3.3
    • Constructor Detail

      • JobStatusGroupInfo

        public JobStatusGroupInfo​(Long count,
                                  String status,
                                  String type,
                                  Date minAge)
        Create a job status aggregation group info object with the given parameters.
        Parameters:
        count - the number of jobs
        status - the job status
        type - the job type
        minAge - the minimum age
    • Method Detail

      • getCount

        public Long getCount()
        Returns:
        the count
      • getType

        public String getType()
        Returns:
        the type
      • getStatus

        public String getStatus()
        Returns:
        the status
      • getMinAge

        public Date getMinAge()
        Returns:
        the minAge
      • getAgeDays

        public Integer getAgeDays()
        Return the maximum age in date.
        Returns:
        the maximum age in days
      • setPercentage

        public void setPercentage​(double percent)
        Parameters:
        percent - the percentage number of total count
      • getPercentage

        public double getPercentage()
        Returns:
        percent the percentage number of total count