Package | Description |
---|---|
com.atlassian.bamboo.plugins.bitbucket.api | |
com.atlassian.bamboo.plugins.bitbucket.impl |
Modifier and Type | Method and Description |
---|---|
@NotNull BitbucketPageEntity<BitbucketNodeEntity> |
BitbucketApiService.findBranches(@NotNull String owner,
@NotNull String slug,
@NotNull String username,
@Nullable String password,
@Nullable String queryString,
int start,
int limit) |
@NotNull BitbucketPageEntity<BitbucketResourceEntity> |
BitbucketApiService.findPublicRepositories(@NotNull String username,
@Nullable String queryString,
int start,
int limit)
Return a filtered list of public repositories that user has access to.
|
@NotNull BitbucketPageEntity<BitbucketResourceEntity> |
BitbucketApiService.findRepositories(@NotNull String username,
@NotNull String password,
@Nullable String queryString,
int start,
int limit)
Return a filtered list of accessible to Bitbucket user.
|
@NotNull BitbucketNodeEntity |
BitbucketApiService.getBranch(@NotNull String owner,
@NotNull String slug,
@NotNull String branch,
@Nullable String username,
@Nullable String password)
Returns a branch of a repository if it exists, throws exception (404) if not.
|
@NotNull List<BitbucketNodeEntity> |
BitbucketApiService.getBranches(@NotNull String owner,
@NotNull String slug,
@NotNull String username,
@Nullable String password)
Retrieve list of all branches for given repository
|
List<String> |
BitbucketApiService.getCommentIds(String username,
String password,
String repositorySlug,
String commitId)
Fetch comment ids by commit id.
|
List<String> |
BitbucketApiService.getCommits(String username,
String password,
String repositorySlug,
int limit)
Fetch repository commits.
|
@NotNull BitbucketNodeEntity |
BitbucketApiService.getDefaultBranch(@NotNull String owner,
@NotNull String slug,
@Nullable String username,
@Nullable String password)
Fetch default branch of a repository.
|
@NotNull List<BitbucketResourceEntity> |
BitbucketApiService.getPublicRepositories(@NotNull String username)
Return a list of all public repositories that user has access to.
|
@NotNull List<BitbucketResourceEntity> |
BitbucketApiService.getPublicRepositories(@NotNull String username,
@Nullable String queryString)
Return a list of all public repositories that user has access to.
|
@NotNull List<BitbucketResourceEntity> |
BitbucketApiService.getRepositories(@NotNull String username,
@NotNull String password)
Retrieve list of all repositories accessible to Bitbucket user
|
@NotNull List<BitbucketResourceEntity> |
BitbucketApiService.getRepositories(@NotNull String username,
@NotNull String password,
@Nullable String queryString)
Retrieve list of all repositories accessible to Bitbucket user
|
@NotNull BitbucketResourceEntity |
BitbucketApiService.getRepository(@NotNull String owner,
@NotNull String slug,
@Nullable String username,
@Nullable String password)
Retrieve data about single Bitbucket repository.
|
void |
BitbucketApiService.updateBuildStatus(@NotNull String owner,
@NotNull String slug,
@NotNull String revision,
@NotNull RestBuildStatus buildStatus,
@NotNull String username,
@NotNull String password)
Send build status update to Bitbucket server
|
Modifier and Type | Method and Description |
---|---|
@NotNull BitbucketPageEntity<BitbucketNodeEntity> |
BitbucketApiServiceImpl.findBranches(@NotNull String owner,
@NotNull String slug,
@NotNull String username,
@Nullable String password,
@Nullable String queryString,
int start,
int limit) |
@NotNull BitbucketPageEntity<BitbucketResourceEntity> |
BitbucketApiServiceImpl.findPublicRepositories(@NotNull String username,
@Nullable String queryString,
int start,
int limit) |
@NotNull BitbucketPageEntity<BitbucketResourceEntity> |
BitbucketApiServiceImpl.findRepositories(@NotNull String username,
@NotNull String password,
@Nullable String queryString,
int start,
int limit) |
@NotNull BitbucketNodeEntity |
BitbucketApiServiceImpl.getBranch(@NotNull String owner,
@NotNull String slug,
@NotNull String branch,
String username,
String password) |
@NotNull List<BitbucketNodeEntity> |
BitbucketApiServiceImpl.getBranches(@NotNull String owner,
@NotNull String slug,
@NotNull String username,
@Nullable String password)
JAXB binding cannot be used in this method as Bitbucket returns JSON with node names containing characters
which cannot be used as XML element names.
|
List<String> |
BitbucketApiServiceImpl.getCommentIds(String username,
String password,
String repositorySlug,
String commitId) |
List<String> |
BitbucketApiServiceImpl.getCommits(String username,
String password,
String repositorySlug,
int limit) |
@NotNull BitbucketNodeEntity |
BitbucketApiServiceImpl.getDefaultBranch(@NotNull String owner,
@NotNull String slug,
@Nullable String username,
@Nullable String password) |
@NotNull List<BitbucketResourceEntity> |
BitbucketApiServiceImpl.getPublicRepositories(@NotNull String username) |
@NotNull List<BitbucketResourceEntity> |
BitbucketApiServiceImpl.getPublicRepositories(@NotNull String username,
@Nullable String queryString) |
@NotNull List<BitbucketResourceEntity> |
BitbucketApiServiceImpl.getRepositories(@NotNull String username,
@NotNull String password) |
@NotNull List<BitbucketResourceEntity> |
BitbucketApiServiceImpl.getRepositories(@NotNull String username,
@NotNull String password,
@Nullable String queryString) |
@NotNull BitbucketResourceEntity |
BitbucketApiServiceImpl.getRepository(@NotNull String owner,
@NotNull String slug,
@Nullable String username,
@Nullable String password) |
void |
BitbucketApiServiceImpl.updateBuildStatus(@NotNull String owner,
@NotNull String slug,
@NotNull String revision,
@NotNull RestBuildStatus buildStatus,
@NotNull String username,
@NotNull String password) |
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.