Package com.jcabi.github
Interface Repo
-
- All Superinterfaces:
Comparable<Repo>,JsonPatchable,JsonReadable
- All Known Implementing Classes:
Repo.Smart
@Immutable public interface Repo extends JsonReadable, JsonPatchable, Comparable<Repo>
Github repository.- Since:
- 0.1
- Version:
- $Id: 785247e60213bd85f6dd55d7fea9b4800c87a62b $
- Author:
- Yegor Bugayenko (yegor256@gmail.com)
- Suppressed Checkstyle violations:
- MultipleStringLiterals (500 lines)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRepo.SmartSmart Repo with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Assigneesassignees()Get all available assignees to which issues may be assigned.Branchesbranches()Get repository's branches.Collaboratorscollaborators()Gel all collaborators.RepoCommitscommits()Get repository's commits.Contentscontents()Get all contents of the repo.Coordinatescoordinates()Get its coordinates.Forksforks()Get all forks of the repo.Gitgit()Get the Git API entry point.Githubgithub()Get its owner.Hookshooks()Hooks.IssueEventsissueEvents()Get all issue events for the repository.Issuesissues()Iterate issues.DeployKeyskeys()Get all deploy keys of the repo.Labelslabels()Get all labels of the repo.Iterable<Language>languages()Get languages for the specified repository.Milestonesmilestones()Iterate milestones.Notificationsnotifications()Get Notifications API.Pullspulls()Pull requests.Releasesreleases()Get all releases of the repo.Starsstars()Get Starring API.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.jcabi.github.JsonPatchable
patch
-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
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:
- List Events for a Repository
-
labels
Labels labels()
Get all labels of the repo.- Returns:
- Labels
- See Also:
- Labels API
-
assignees
Assignees assignees()
Get all available assignees to which issues may be assigned.- Returns:
- Assignees
- See Also:
- Assignees API
-
releases
Releases releases()
Get all releases of the repo.- Returns:
- Releases
- See Also:
- Releases API
-
keys
DeployKeys keys()
Get all deploy keys of the repo.- Returns:
- DeployKeys
- See Also:
- Deploy Keys API
-
commits
RepoCommits commits()
Get repository's commits.- Returns:
- Commits
- See Also:
- Commits API
-
branches
Branches branches()
Get repository's branches.- Returns:
- Branches
- See Also:
- List Branches API
-
contents
Contents contents()
Get all contents of the repo.- Returns:
- Contents
- See Also:
- Contents API
-
collaborators
Collaborators collaborators()
Gel all collaborators.- Returns:
- Collaborators
- See Also:
- Collaborators API
-
git
Git git()
Get the Git API entry point.- Returns:
- Collaborators
- See Also:
- Git Data API
-
stars
Stars stars()
Get Starring API.- Returns:
- Stars
- Since:
- 0.15
- See Also:
- Starring API
-
notifications
Notifications notifications()
Get Notifications API.- Returns:
- Stars
- Since:
- 0.15
- See Also:
- Notifications API
-
languages
Iterable<Language> languages() throws IOException
Get languages for the specified repository.- Returns:
- Languages
- Throws:
IOException- If there is any I/O problem- Since:
- 0.15
- See Also:
- List languages
-
-