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
Suppressed Checkstyle violations:
MultipleStringLiterals (500 lines), ClassFanOutComplexityCheck (500 lines)
  • 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

      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:
    • defaultBranch

      Branch defaultBranch() throws IOException
      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.