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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDefaultBranch()Returns the repository default branch.StringgetDescription()Returns the repository description.StringgetFullName()Returns the repository full name.StringgetHTTPURL()Returns the repository HTTP URL.StringgetID()Returns the ID for the entity on this service.StringgetName()Returns the repository name.-
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 Detail
-
getDefaultBranch
public String getDefaultBranch()
Returns the repository default branch.- Specified by:
getDefaultBranchin interfaceGitHostedRepository- Returns:
- the repository default branch.
-
getDescription
public String getDescription()
Returns the repository description.- Specified by:
getDescriptionin interfaceGitHostedRepository- Returns:
- the repository description.
-
getFullName
public String getFullName()
Returns the repository full name.- Specified by:
getFullNamein interfaceGitHostedRepository- Returns:
- the repository full name.
-
getHTTPURL
public String getHTTPURL()
Returns the repository HTTP URL.- Specified by:
getHTTPURLin interfaceGitHostedRepository- Returns:
- the repository HTTP URL.
-
getName
public String getName()
Returns the repository name.- Specified by:
getNamein interfaceGitHostedRepository- 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.
-
-