Package com.mooltiverse.oss.nyx.services
Interface GitHostedRepository
- All Known Implementing Classes:
GitHubRepository
,GitLabRepository
public interface GitHostedRepository
A remote Git repository hosted on some service. These entities are managed through services implementing the
GitHostingService
interface and supporting
the
Service.Feature.GIT_HOSTING
feature.-
Method Details
-
getDefaultBranch
String getDefaultBranch()Returns the repository default branch.- Returns:
- the repository default branch.
-
getDescription
String getDescription()Returns the repository description.- Returns:
- the repository description.
-
getFullName
String getFullName()Returns the repository full name.- Returns:
- the repository full name.
-
getHTTPURL
String getHTTPURL()Returns the repository HTTP URL.- Returns:
- the repository HTTP URL.
-
getSSHURL
String getSSHURL()Returns the repository SSH URL.- Returns:
- the repository SSH URL.
-
getID
String getID()Returns the repository ID.- Returns:
- the repository ID.
-
getName
String getName()Returns the repository name.- Returns:
- the repository name.
-