Class StatisticData

java.lang.Object
org.opencastproject.adopter.registration.dto.StatisticData

public class StatisticData extends Object
DTO that contains anonymous statistic data of an adopter.
  • Constructor Details

    • StatisticData

      public StatisticData(String statisticKey)
      A StatisticData instance should always have a unique key.
      Parameters:
      statisticKey - The unique key that identifies a statistic entry.
  • Method Details

    • jsonify

      public String jsonify()
      Parses an instance of this class to a JSON string.
      Returns:
      The instance as JSON string.
    • getStatisticKey

      public String getStatisticKey()
    • setStatisticKey

      public void setStatisticKey(String statisticKey)
    • getAdopterKey

      public String getAdopterKey()
    • setAdopterKey

      public void setAdopterKey(String adopterKey)
    • getJobCount

      public long getJobCount()
    • setJobCount

      public void setJobCount(long jobCount)
    • getEventCount

      public long getEventCount()
    • setEventCount

      public void setEventCount(long eventCount)
    • getSeriesCount

      public int getSeriesCount()
    • setSeriesCount

      public void setSeriesCount(int seriesCount)
    • getUserCount

      public long getUserCount()
    • setUserCount

      public void setUserCount(long userCount)
    • getCACount

      public long getCACount()
    • setCACount

      public void setCACount(long caCount)
    • getTotalMinutes

      public long getTotalMinutes()
    • setTotalMinutes

      public void setTotalMinutes(long totalMinutes)
    • getHosts

      public List<Host> getHosts()
    • setHosts

      public void setHosts(List<Host> hosts)
    • getTenantCount

      public int getTenantCount()
    • setTenantCount

      public void setTenantCount(int tenantCount)
    • addHost

      public void addHost(Host host)
    • setVersion

      public void setVersion(String version)
    • getVersion

      public String getVersion()