Package org.vx68k.bitbucket.api
Interface Bitbucket
-
- All Known Implementing Classes:
BitbucketClient
public interface BitbucketAbstraction of the Bitbucket API.- Since:
- 5.0
- Author:
- Kaz Nishimura
- See Also:
BitbucketAccount,BitbucketRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketRepositorygetRepository(String ownerName, String name)Returns a repository resource for a repository.BitbucketAccountgetTeam(String name)Returns an account resource for a team.BitbucketAccountgetUser(String name)Returns an account resource for a user.Collection<BitbucketRepository>repositories(String ownerName)Returns aCollectionview of the repositories of an account.
-
-
-
Method Detail
-
getUser
BitbucketAccount getUser(String name)
Returns an account resource for a user.- Parameters:
name- the name of a user- Returns:
- an account resource for a user
-
getTeam
BitbucketAccount getTeam(String name)
Returns an account resource for a team.- Parameters:
name- the name of a team- Returns:
- an account resource for a team
-
getRepository
BitbucketRepository getRepository(String ownerName, String name)
Returns a repository resource for a repository.- Parameters:
ownerName- the owner name of a repositoryname- the name of a repository- Returns:
- a repository resource for a repository
-
repositories
Collection<BitbucketRepository> repositories(String ownerName)
Returns aCollectionview of the repositories of an account.- Parameters:
ownerName- the name of an account- Returns:
- a
Collectionview of the repositories of an account
-
-