Class GitLabRepository
- java.lang.Object
-
- jetbrains.buildServer.serverSide.oauth.gitlab.GitLabRepository
-
- All Implemented Interfaces:
ExternalRepository
public class GitLabRepository extends Object implements ExternalRepository
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCloneUrl()
String
getDefaultBranch()
String
getFullPath()
String
getHtmlUrl()
String
getHttpCloneUrl()
String
getId()
String
getName()
String
getOwner()
String
getSshCloneUrl()
boolean
isInGroup()
boolean
isPrivate()
-
-
-
Method Detail
-
getId
@NotNull public String getId()
- Specified by:
getId
in interfaceExternalRepository
- Returns:
- repository id as provided by VCS hosting
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceExternalRepository
- Returns:
- true if it is known that the repository is private, false otherwise
-
getDefaultBranch
public String getDefaultBranch()
- Specified by:
getDefaultBranch
in interfaceExternalRepository
-
isInGroup
public boolean isInGroup()
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceExternalRepository
- Returns:
- repository name
-
getFullPath
public String getFullPath()
-
getOwner
public String getOwner()
-
getHttpCloneUrl
@NotNull public String getHttpCloneUrl()
- Specified by:
getHttpCloneUrl
in interfaceExternalRepository
- Returns:
- HTTPS clone URL
-
getSshCloneUrl
@Nullable public String getSshCloneUrl()
- Specified by:
getSshCloneUrl
in interfaceExternalRepository
- Returns:
- SSH clone URL
-
getCloneUrl
@NotNull public String getCloneUrl()
- Specified by:
getCloneUrl
in interfaceExternalRepository
- Returns:
- HTTPS clone URL
-
getHtmlUrl
public String getHtmlUrl()
- Specified by:
getHtmlUrl
in interfaceExternalRepository
- Returns:
- Repository web page URL
-
-