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 StringgetCloneUrl()StringgetDefaultBranch()StringgetFullPath()StringgetHtmlUrl()StringgetHttpCloneUrl()StringgetId()StringgetName()StringgetOwner()StringgetSshCloneUrl()booleanisInGroup()booleanisPrivate()
-
-
-
Method Detail
-
getId
@NotNull public String getId()
- Specified by:
getIdin interfaceExternalRepository- Returns:
- repository id as provided by VCS hosting
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceExternalRepository- Returns:
- true if it is known that the repository is private, false otherwise
-
getDefaultBranch
public String getDefaultBranch()
- Specified by:
getDefaultBranchin interfaceExternalRepository
-
isInGroup
public boolean isInGroup()
-
getName
@NotNull public String getName()
- Specified by:
getNamein interfaceExternalRepository- Returns:
- repository name
-
getFullPath
public String getFullPath()
-
getOwner
public String getOwner()
-
getHttpCloneUrl
@NotNull public String getHttpCloneUrl()
- Specified by:
getHttpCloneUrlin interfaceExternalRepository- Returns:
- HTTPS clone URL
-
getSshCloneUrl
@Nullable public String getSshCloneUrl()
- Specified by:
getSshCloneUrlin interfaceExternalRepository- Returns:
- SSH clone URL
-
getCloneUrl
@NotNull public String getCloneUrl()
- Specified by:
getCloneUrlin interfaceExternalRepository- Returns:
- HTTPS clone URL
-
getHtmlUrl
public String getHtmlUrl()
- Specified by:
getHtmlUrlin interfaceExternalRepository- Returns:
- Repository web page URL
-
-