Class BitBucketRepository
- java.lang.Object
-
- jetbrains.buildServer.serverSide.oauth.bitbucket.BitBucketRepository
-
- All Implemented Interfaces:
ExternalRepository
public class BitBucketRepository extends Object implements ExternalRepository
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBitBucketRepository.OwnerType
-
Constructor Summary
Constructors Constructor Description BitBucketRepository(String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCloneUrl()StringgetDefaultBranch()StringgetHtmlUrl()StringgetHttpCloneUrl()StringgetId()StringgetMainBranch()StringgetName()StringgetOnwerDisplayName()StringgetOwner()intgetOwnerType()StringgetSshCloneUrl()booleanisPrivate()voidsetCloneUrl(String cloneUrl)voidsetHtmlUrl(String htmlUrl)voidsetMainBranch(String mainBranch)voidsetName(String name)voidsetOnwerDisplayName(String onwerDisplayName)voidsetOwner(String owner)voidsetOwnerType(int ownerType)voidsetPrivate(boolean aPrivate)
-
-
-
Constructor Detail
-
BitBucketRepository
public BitBucketRepository(@NotNull String id)
-
-
Method Detail
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceExternalRepository- Returns:
- true if it is known that the repository is private, false otherwise
-
getId
@NotNull public String getId()
- Specified by:
getIdin interfaceExternalRepository- Returns:
- repository id as provided by VCS hosting
-
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
-
setPrivate
public void setPrivate(boolean aPrivate)
-
getName
@NotNull public String getName()
- Specified by:
getNamein interfaceExternalRepository- Returns:
- repository name
-
setName
public void setName(String name)
-
getHtmlUrl
public String getHtmlUrl()
- Specified by:
getHtmlUrlin interfaceExternalRepository- Returns:
- Repository web page URL
-
setHtmlUrl
public void setHtmlUrl(String htmlUrl)
-
getCloneUrl
@NotNull public String getCloneUrl()
- Specified by:
getCloneUrlin interfaceExternalRepository- Returns:
- HTTPS clone URL
-
setCloneUrl
public void setCloneUrl(String cloneUrl)
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
getOnwerDisplayName
public String getOnwerDisplayName()
-
setOnwerDisplayName
public void setOnwerDisplayName(String onwerDisplayName)
-
getMainBranch
public String getMainBranch()
-
setMainBranch
public void setMainBranch(String mainBranch)
-
getDefaultBranch
public String getDefaultBranch()
- Specified by:
getDefaultBranchin interfaceExternalRepository
-
getOwnerType
public int getOwnerType()
-
setOwnerType
public void setOwnerType(int ownerType)
-
-