Class GHStargazer

java.lang.Object
org.kohsuke.github.GHStargazer

public class GHStargazer extends Object
A stargazer at a repository on GitHub.
Author:
noctarius
  • Constructor Details

    • GHStargazer

      public GHStargazer()
  • Method Details

    • getRepository

      public GHRepository getRepository()
      Gets the repository that is stargazed.
      Returns:
      the starred repository
    • getStarredAt

      public Date getStarredAt()
      Gets the date when the repository was starred, however old stars before August 2012, will all show the date the API was changed to support starred_at.
      Returns:
      the date the stargazer was added
    • getUser

      public GHUser getUser()
      Gets the user that starred the repository.
      Returns:
      the stargazer user