Class GitHubRepository

java.lang.Object
com.mooltiverse.oss.nyx.services.github.GitHubRepository
All Implemented Interfaces:
GitHostedRepository

public class GitHubRepository extends Object implements GitHostedRepository
A Git repository hosted on GitHub.
  • Method Details

    • getDefaultBranch

      public String getDefaultBranch()
      Returns the repository default branch.
      Specified by:
      getDefaultBranch in interface GitHostedRepository
      Returns:
      the repository default branch.
    • getDescription

      public String getDescription()
      Returns the repository description.
      Specified by:
      getDescription in interface GitHostedRepository
      Returns:
      the repository description.
    • getFullName

      public String getFullName()
      Returns the repository full name.
      Specified by:
      getFullName in interface GitHostedRepository
      Returns:
      the repository full name.
    • getHTTPURL

      public String getHTTPURL()
      Returns the repository HTTP URL.
      Specified by:
      getHTTPURL in interface GitHostedRepository
      Returns:
      the repository HTTP URL.
    • getSSHURL

      public String getSSHURL()
      Returns the repository SSH URL.
      Specified by:
      getSSHURL in interface GitHostedRepository
      Returns:
      the repository SSH URL.
    • getName

      public String getName()
      Returns the repository name.
      Specified by:
      getName in interface GitHostedRepository
      Returns:
      the repository name.
    • getID

      public String getID()
      Returns the ID for the entity on this service.
      Returns:
      the ID for the entity on this service.