Package com.jcabi.github
Interface Repo
- All Superinterfaces:
Comparable<Repo>,JsonPatchable,JsonReadable
- All Known Implementing Classes:
Repo.Smart
GitHub repository.
- Since:
- 0.1
- Suppressed Checkstyle violations:
- MultipleStringLiterals (500 lines), ClassFanOutComplexityCheck (500 lines)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classSmart Repo with extra features. -
Method Summary
Modifier and TypeMethodDescriptionGet all available assignees to which issues may be assigned.branches()Get repository's branches.Gel all collaborators.commits()Get repository's commits.contents()Get all contents of the repo.Get its coordinates.Get default branch.forks()Get all forks of the repo.git()Get the Git API entry point.github()Get its owner.hooks()Hooks.Get all issue events for the repository.issues()Iterate issues.keys()Get all deploy keys of the repo.labels()Get all labels of the repo.Get languages for the specified repository.Iterate milestones.Get Notifications API.pulls()Pull requests.releases()Get all releases of the repo.Lists the people that have starred the repository.stars()Get Starring API.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.jcabi.github.JsonPatchable
patchMethods inherited from interface com.jcabi.github.JsonReadable
json
-
Method Details
-
github
GitHub github()Get its owner.- Returns:
- GitHub
-
coordinates
Coordinates coordinates()Get its coordinates.- Returns:
- Coordinates
-
issues
Issues issues()Iterate issues.- Returns:
- Issues
-
milestones
Milestones milestones()Iterate milestones.- Returns:
- Milestones
- Since:
- 0.7
-
pulls
Pulls pulls()Pull requests.- Returns:
- Pulls
-
hooks
Hooks hooks()Hooks.- Returns:
- Hooks
- Since:
- 0.8
-
issueEvents
IssueEvents issueEvents()Get all issue events for the repository.- Returns:
- Issue events
- See Also:
-
labels
Labels labels()Get all labels of the repo.- Returns:
- Labels
- See Also:
-
assignees
Assignees assignees()Get all available assignees to which issues may be assigned.- Returns:
- Assignees
- See Also:
-
releases
Releases releases()Get all releases of the repo.- Returns:
- Releases
- See Also:
-
keys
DeployKeys keys()Get all deploy keys of the repo.- Returns:
- DeployKeys
- See Also:
-
forks
Forks forks()Get all forks of the repo.- Returns:
- Forks
- See Also:
-
commits
RepoCommits commits()Get repository's commits.- Returns:
- Commits
- See Also:
-
branches
Branches branches()Get repository's branches.- Returns:
- Branches
- See Also:
-
contents
Contents contents()Get all contents of the repo.- Returns:
- Contents
- See Also:
-
collaborators
Collaborators collaborators()Gel all collaborators.- Returns:
- Collaborators
- See Also:
-
git
Git git()Get the Git API entry point.- Returns:
- Collaborators
- See Also:
-
stars
Stars stars()Get Starring API.- Returns:
- Stars
- Since:
- 0.15
- See Also:
-
notifications
Notifications notifications()Get Notifications API.- Returns:
- Stars
- Since:
- 0.15
- See Also:
-
languages
Get languages for the specified repository.- Returns:
- Languages
- Throws:
IOException- If there is any I/O problem- Since:
- 0.15
- See Also:
-
defaultBranch
Get default branch.- Returns:
- Default branch.
- Throws:
IOException- If there is any I/O problem.
-
stargazers
Stargazers stargazers()Lists the people that have starred the repository.- Returns:
- Lists the people that have starred the repository.
-