Package com.mooltiverse.oss.nyx.services
Interface GitHostedRepository
-
- All Known Implementing Classes:
GitHubRepository,GitLabRepository
public interface GitHostedRepositoryA remote Git repository hosted on some service. These entities are managed through services implementing theGitHostingServiceinterface andsupportingtheService.Feature.GIT_HOSTINGfeature.
-
-
Method Summary
All Methods Instance Methods Abstract 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 repository ID.StringgetName()Returns the repository name.
-
-
-
Method Detail
-
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.
-
getID
String getID()
Returns the repository ID.- Returns:
- the repository ID.
-
getName
String getName()
Returns the repository name.- Returns:
- the repository name.
-
-