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 class
Repo.Smart
Smart Repo with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Assignees
assignees()
Get all available assignees to which issues may be assigned.Branches
branches()
Get repository's branches.Collaborators
collaborators()
Gel all collaborators.RepoCommits
commits()
Get repository's commits.Contents
contents()
Get all contents of the repo.Coordinates
coordinates()
Get its coordinates.Forks
forks()
Get all forks of the repo.Git
git()
Get the Git API entry point.Github
github()
Get its owner.Hooks
hooks()
Hooks.IssueEvents
issueEvents()
Get all issue events for the repository.Issues
issues()
Iterate issues.DeployKeys
keys()
Get all deploy keys of the repo.Labels
labels()
Get all labels of the repo.Iterable<Language>
languages()
Get languages for the specified repository.Milestones
milestones()
Iterate milestones.Notifications
notifications()
Get Notifications API.Pulls
pulls()
Pull requests.Releases
releases()
Get all releases of the repo.Stars
stars()
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
-
-