Class GitHubRepository
java.lang.Object
com.mooltiverse.oss.nyx.services.github.GitHubRepository
- All Implemented Interfaces:
GitHostedRepository
A Git repository hosted on GitHub.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the repository default branch.Returns the repository description.Returns the repository full name.Returns the repository HTTP URL.getID()
Returns the ID for the entity on this service.getName()
Returns the repository name.Returns the repository SSH URL.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mooltiverse.oss.nyx.services.GitHostedRepository
getID
-
Method Details
-
getDefaultBranch
Returns the repository default branch.- Specified by:
getDefaultBranch
in interfaceGitHostedRepository
- Returns:
- the repository default branch.
-
getDescription
Returns the repository description.- Specified by:
getDescription
in interfaceGitHostedRepository
- Returns:
- the repository description.
-
getFullName
Returns the repository full name.- Specified by:
getFullName
in interfaceGitHostedRepository
- Returns:
- the repository full name.
-
getHTTPURL
Returns the repository HTTP URL.- Specified by:
getHTTPURL
in interfaceGitHostedRepository
- Returns:
- the repository HTTP URL.
-
getSSHURL
Returns the repository SSH URL.- Specified by:
getSSHURL
in interfaceGitHostedRepository
- Returns:
- the repository SSH URL.
-
getName
Returns the repository name.- Specified by:
getName
in interfaceGitHostedRepository
- Returns:
- the repository name.
-
getID
Returns the ID for the entity on this service.- Returns:
- the ID for the entity on this service.
-