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.
  • Constructor Details

    • CommitActivity

      public CommitActivity()
  • Method Details

    • 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.
    • getHtmlUrl

      public URL getHtmlUrl() throws IOException
      Gets the html url.
      Specified by:
      getHtmlUrl in class GHObject
      Returns:
      the html url
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getRoot

      @Deprecated public GitHub getRoot()
      Deprecated.
      For access to the GitHub instance, use a local copy instead of pulling it out of objects.
      Get the root GitHub instance for this object.
      Returns:
      the root GitHub instance