Interface BitbucketRepository
-
- All Known Implementing Classes:
BitbucketCloudRepository
,BitbucketServerRepository
public interface BitbucketRepository
Represents a Bitbucket repository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String
getFullName()
Map<String,List<BitbucketHref>>
getLinks()
Gets the links for this repository.BitbucketRepositoryOwner
getOwner()
String
getOwnerName()
BitbucketProject
getProject()
String
getRepositoryName()
String
getScm()
Deprecated.no longer a choiceboolean
isPrivate()
-
-
-
Method Detail
-
getScm
@Deprecated String getScm()
Deprecated.no longer a choice- Returns:
- the scm type (git)
-
getFullName
String getFullName()
- Returns:
- full repository name, which is owner/name (where owner could be a user, a team or a project)
-
getProject
BitbucketProject getProject()
- Returns:
- the project containing the repository
-
getOwner
BitbucketRepositoryOwner getOwner()
- Returns:
- repository owner (could be a user, a team or a project)
-
getOwnerName
String getOwnerName()
- Returns:
getOwner()
's name
-
getRepositoryName
String getRepositoryName()
- Returns:
- the repository name (as extracted from
getFullName()
)
-
isPrivate
boolean isPrivate()
- Returns:
- return true if the repository is a private one (false otherwise).
-
getLinks
Map<String,List<BitbucketHref>> getLinks()
Gets the links for this repository.- Returns:
- the links for this repository.
-
-