Class GHRepositoryStatistics.ContributorStats.Week

java.lang.Object
org.kohsuke.github.GHRepositoryStatistics.ContributorStats.Week
Enclosing class:
GHRepositoryStatistics.ContributorStats

public static class GHRepositoryStatistics.ContributorStats.Week extends Object
The type Week.
  • Constructor Details

    • Week

      public Week()
      Create default Week instance
  • Method Details

    • getWeekTimestamp

      public long getWeekTimestamp()
      Gets week timestamp.
      Returns:
      Start of the week, as a UNIX timestamp.
    • getNumberOfAdditions

      public int getNumberOfAdditions()
      Gets number of additions.
      Returns:
      The number of additions for the week.
    • getNumberOfDeletions

      public int getNumberOfDeletions()
      Gets number of deletions.
      Returns:
      The number of deletions for the week.
    • getNumberOfCommits

      public int getNumberOfCommits()
      Gets number of commits.
      Returns:
      The number of commits for the week.
    • toString

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