public static class GHRepositoryStatistics.ContributorStats extends GHObject
| Modifier and Type | Class and Description |
|---|---|
static class |
GHRepositoryStatistics.ContributorStats.Week
The type Week.
|
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
ContributorStats() |
| Modifier and Type | Method and Description |
|---|---|
GHUser |
getAuthor()
Gets author.
|
URL |
getHtmlUrl()
Gets html url.
|
GitHub |
getRoot()
Gets root.
|
int |
getTotal()
Gets total.
|
GHRepositoryStatistics.ContributorStats.Week |
getWeek(long timestamp)
Convenience method to look up week with particular timestamp.
|
List<GHRepositoryStatistics.ContributorStats.Week> |
getWeeks()
Gets weeks.
|
String |
toString()
String representation to assist debugging and inspection.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrlpublic URL getHtmlUrl() throws IOException
GHObjectgetHtmlUrl in class GHObjectIOException - on errorpublic GitHub getRoot()
public GHUser getAuthor()
public int getTotal()
public GHRepositoryStatistics.ContributorStats.Week getWeek(long timestamp) throws NoSuchElementException
timestamp - The timestamp to look for.NoSuchElementException - the no such element exceptionpublic List<GHRepositoryStatistics.ContributorStats.Week> getWeeks()
Copyright © 2020. All rights reserved.