Package org.kohsuke.github
Class GHRepositoryStatistics.CommitActivity
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHRepositoryStatistics.CommitActivity
-
- Enclosing class:
- GHRepositoryStatistics
public static class GHRepositoryStatistics.CommitActivity extends GHObject
The type CommitActivity.
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
created_at, id, responseHeaderFields, updated_at, url
-
-
Constructor Summary
Constructors Constructor Description CommitActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Integer>getDays()Gets days.URLgetHtmlUrl()Gets html url.GitHubgetRoot()Gets root.intgetTotal()Gets total.longgetWeek()Gets week.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toString
-
-
-
-
Method Detail
-
getDays
public List<Integer> getDays()
Gets days.- Returns:
- The number of commits for each day of the week. 0 = Sunday, 1 = Monday, etc.
-
getTotal
public int getTotal()
Gets total.- Returns:
- The total number of commits for the week.
-
getWeek
public long getWeek()
Gets week.- Returns:
- The start of the week as a UNIX timestamp.
-
getRoot
public GitHub getRoot()
Gets root.- Returns:
- the root
-
getHtmlUrl
public URL getHtmlUrl() throws IOException
Description copied from class:GHObjectGets html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- URL of this object for humans, which renders some HTML.
- Throws:
IOException- on error
-
-