Package org.vx68k.bitbucket.api
Interface BitbucketRepository
- 
- All Known Implementing Classes:
 BitbucketClientRepository
public interface BitbucketRepositoryRepository on Bitbucket Cloud. A Bitbucket Cloud repository is owned by an account.- Since:
 - 5.0
 - Author:
 - Kaz Nishimura
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstantgetCreated()Returns the time when the repository was created.StringgetDescription()Returns the description of the repository.StringgetFullName()Returns the full name of the repository.BitbucketIssueTrackergetIssueTracker()Returns the issue tracker of the repository.BitbucketBranchgetMainBranch()Returns the main branch of the repository.StringgetName()Returns the name of the repository.BitbucketAccountgetOwner()Returns the owner of the repository.StringgetSCM()Returns the SCM type of the repository.longgetSize()Returns the size of the repository.InstantgetUpdated()Returns the time when the repository was last updated.UUIDgetUUID()Returns the UUID of the repository.booleanhasIssueTracker()Returnstrueif and only if the repository has a issue tracker.booleanhasWiki()Returnstrueif and only if the repository has a wiki.booleanisPrivate()Returnstrueif and only if the repository is private. 
 - 
 
- 
- 
Field Detail
- 
GIT
static final String GIT
SCM type value for Git repositories.- See Also:
 - Constant Field Values
 
 
- 
HG
static final String HG
SCM type value for Mercurial repositories.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getSCM
String getSCM()
Returns the SCM type of the repository. The return value shall be either#GITor#HG.- Returns:
 - the SCM type of the repository
 
 
- 
getOwner
BitbucketAccount getOwner()
Returns the owner of the repository.- Returns:
 - the owner of the repository
 
 
- 
getName
String getName()
Returns the name of the repository.- Returns:
 - the name of the repository
 
 
- 
getFullName
String getFullName()
Returns the full name of the repository.- Returns:
 - the full name of the repository
 
 
- 
getUUID
UUID getUUID()
Returns the UUID of the repository.- Returns:
 - the UUID of the repository
 
 
- 
getDescription
String getDescription()
Returns the description of the repository.- Returns:
 - the description of the repository
 
 
- 
isPrivate
boolean isPrivate()
Returnstrueif and only if the repository is private.- Returns:
 trueif and only if the repository is private
 
- 
getMainBranch
BitbucketBranch getMainBranch()
Returns the main branch of the repository.- Returns:
 - the main branch of the repository
 
 
- 
hasIssueTracker
boolean hasIssueTracker()
Returnstrueif and only if the repository has a issue tracker.- Returns:
 trueif and only if the repository has a issue tracker
 
- 
hasWiki
boolean hasWiki()
Returnstrueif and only if the repository has a wiki.- Returns:
 trueif and only if the repository has a wiki
 
- 
getSize
long getSize()
Returns the size of the repository.- Returns:
 - the size of the repository
 
 
- 
getCreated
Instant getCreated()
Returns the time when the repository was created.- Returns:
 - the time when the repository was created
 
 
- 
getUpdated
Instant getUpdated()
Returns the time when the repository was last updated.- Returns:
 - the time when the repository was last updated
 
 
- 
getIssueTracker
BitbucketIssueTracker getIssueTracker()
Returns the issue tracker of the repository.- Returns:
 - the issue tracker of the repository
 
 
 - 
 
 -