java.lang.Object
org.kohsuke.github.GHStargazer
A stargazer at a repository on GitHub.
- Author:
- noctarius
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the repository that is stargazed.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 starredAt.getUser()
Gets the user that starred the repository.
-
Constructor Details
-
GHStargazer
public GHStargazer()Create default GHStargazer instance
-
-
Method Details
-
getRepository
Gets the repository that is stargazed.- Returns:
- the starred repository
-
getStarredAt
@WithBridgeMethods(value=java.util.Date.class, adapterMethod="instantToDate") public Instant 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 starredAt.- Returns:
- the date the stargazer was added
-
getUser
Gets the user that starred the repository.- Returns:
- the stargazer user
-