Package org.kohsuke.github
Class GHStargazer
- java.lang.Object
-
- org.kohsuke.github.GHStargazer
-
public class GHStargazer extends Object
A stargazer at a repository on GitHub.- Author:
- noctarius
-
-
Constructor Summary
Constructors Constructor Description GHStargazer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GHRepository
getRepository()
Gets the repository that is stargazed.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.GHUser
getUser()
Gets the user that starred the repository.
-
-
-
Method Detail
-
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
-
-