Package org.kohsuke.github
Class GHRepositoryStatistics.Participation
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHRepositoryStatistics.Participation
-
- Enclosing class:
- GHRepositoryStatistics
public static class GHRepositoryStatistics.Participation extends GHObject
The type Participation.
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description Participation()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<Integer>
getAllCommits()
Gets all commits.URL
getHtmlUrl()
Gets the html url.List<Integer>
getOwnerCommits()
Gets owner commits.GitHub
getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Method Detail
-
getHtmlUrl
public URL getHtmlUrl() throws IOException
Gets the html url.- Specified by:
getHtmlUrl
in classGHObject
- Returns:
- the html url
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getAllCommits
public List<Integer> getAllCommits()
Gets all commits.- Returns:
- The list of commit counts for everyone combined, for the last 52 weeks.
-
getOwnerCommits
public List<Integer> getOwnerCommits()
Gets owner commits.- Returns:
- The list of commit counts for the owner, for the last 52 weeks.
-
getRoot
@Deprecated public GitHub getRoot()
Deprecated.For access to theGitHub
instance, use a local copy instead of pulling it out of objects.Get the rootGitHub
instance for this object.- Returns:
- the root
GitHub
instance
-
-