Class AzureDevOpsRepository
- java.lang.Object
-
- jetbrains.buildServer.serverSide.oauth.azuredevops.AzureDevOpsRepository
-
- All Implemented Interfaces:
ExternalRepository
,RepositoryGroup<AzureDevOpsRepository>
public class AzureDevOpsRepository extends Object implements RepositoryGroup<AzureDevOpsRepository>, ExternalRepository
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccount()
String
getCloneUrl()
String
getHtmlUrl()
String
getHttpCloneUrl()
String
getId()
String
getName()
String
getProject()
List<AzureDevOpsRepository>
getRepositories()
String
getSshCloneUrl()
String
getType()
boolean
isPrivate()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.oauth.ExternalRepository
getDefaultBranch
-
-
-
-
Method Detail
-
getName
@NotNull public String getName()
- Specified by:
getName
in interfaceExternalRepository
- Returns:
- repository name
-
getId
@NotNull public String getId()
- Specified by:
getId
in interfaceExternalRepository
- Returns:
- repository id as provided by VCS hosting
-
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
-
getAccount
public String getAccount()
-
getProject
public String getProject()
-
getType
public String getType()
-
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
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceExternalRepository
- Returns:
- true if it is known that the repository is private, false otherwise
-
getRepositories
public List<AzureDevOpsRepository> getRepositories()
- Specified by:
getRepositories
in interfaceRepositoryGroup<AzureDevOpsRepository>
-
-