Package org.kohsuke.github
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 Summary
Constructors Constructor Description Week()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetNumberOfAdditions()Gets number of additions.intgetNumberOfCommits()Gets number of commits.intgetNumberOfDeletions()Gets number of deletions.longgetWeekTimestamp()Gets week timestamp.StringtoString()To string.
-
-
-
Method Detail
-
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.
-
-