Class GHRepositoryStatistics.CodeFrequency

java.lang.Object
org.kohsuke.github.GHRepositoryStatistics.CodeFrequency
Enclosing class:
GHRepositoryStatistics

public static class GHRepositoryStatistics.CodeFrequency extends Object
The type CodeFrequency.
  • Method Details

    • getWeekTimestamp

      public int getWeekTimestamp()
      Gets week timestamp.
      Returns:
      The start of the week as a UNIX timestamp.
    • getAdditions

      public long getAdditions()
      Gets additions.
      Returns:
      The number of additions for the week.
    • getDeletions

      public long getDeletions()
      Gets deletions.
      Returns:
      The number of deletions for the week. NOTE: This will be a NEGATIVE number.
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object
      Returns:
      the string