Interface ExternalRepository
-
- All Known Implementing Classes:
AzureDevOpsRepository
,BitBucketRepository
,GitHubRepository
,GitLabRepository
,SpaceRepository
public interface ExternalRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description String
getCloneUrl()
Deprecated.since 2024.12, use #getHttpCloneUrl insteaddefault String
getDefaultBranch()
String
getHtmlUrl()
String
getHttpCloneUrl()
String
getId()
String
getName()
String
getSshCloneUrl()
boolean
isPrivate()
-
-
-
Method Detail
-
getName
@NotNull String getName()
- Returns:
- repository name
- Since:
- 2024.12
-
getId
@NotNull String getId()
- Returns:
- repository id as provided by VCS hosting
- Since:
- 2024.12
-
getHttpCloneUrl
@NotNull String getHttpCloneUrl()
- Returns:
- HTTPS clone URL
- Since:
- 2024.12
-
getSshCloneUrl
@Nullable String getSshCloneUrl()
- Returns:
- SSH clone URL
- Since:
- 2024.12
-
getCloneUrl
@NotNull String getCloneUrl()
Deprecated.since 2024.12, use #getHttpCloneUrl instead- Returns:
- HTTPS clone URL
-
getHtmlUrl
@Nullable String getHtmlUrl()
- Returns:
- Repository web page URL
-
isPrivate
boolean isPrivate()
- Returns:
- true if it is known that the repository is private, false otherwise
- Since:
- 2024.12
-
getDefaultBranch
@Nullable default String getDefaultBranch()
-
-