| Modifier and Type | Method and Description |
|---|---|
@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 BitbucketNodeEntity |
BitbucketApiService.getDefaultBranch(@NotNull String owner,
@NotNull String slug,
@Nullable String username,
@Nullable String password)
Fetch default branch of a repository.
|
| Modifier and Type | Method and Description |
|---|---|
static BitbucketNodeEntity |
BitbucketNodeNamedEntity.extract(NamedEntity<BitbucketNodeEntity> entity) |
static @Nullable BitbucketNodeEntity |
BitbucketNodeEntity.from(@NotNull com.opensymphony.webwork.dispatcher.json.JSONObject json)
Convert plain JSON object to BitbucketNodeEntity.
|
static BitbucketNodeEntity |
BitbucketNodeEntity.mainBranchOf(com.opensymphony.webwork.dispatcher.json.JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
NamedEntity<BitbucketNodeEntity> |
BitbucketNodeEntityAdapter.createNamedEntity(@NotNull String name,
@NotNull BitbucketNodeEntity value) |
Class<BitbucketNodeEntity> |
BitbucketNodeEntityAdapter.getEntityType() |
static com.google.common.collect.Ordering<BitbucketNodeEntity> |
BitbucketNodeEntity.orderingByBranchName() |
| Modifier and Type | Method and Description |
|---|---|
NamedEntity<BitbucketNodeEntity> |
BitbucketNodeEntityAdapter.createNamedEntity(@NotNull String name,
@NotNull BitbucketNodeEntity value) |
| Modifier and Type | Method and Description |
|---|---|
static BitbucketNodeEntity |
BitbucketNodeNamedEntity.extract(NamedEntity<BitbucketNodeEntity> entity) |
| Constructor and Description |
|---|
BitbucketNodeNamedEntity(String name,
BitbucketNodeEntity value) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BitbucketNodeEntity |
BitbucketApiServiceImpl.getBranch(@NotNull String owner,
@NotNull String slug,
@NotNull String branch,
String username,
String password) |
@NotNull BitbucketNodeEntity |
BitbucketApiServiceImpl.getDefaultBranch(@NotNull String owner,
@NotNull String slug,
@Nullable String username,
@Nullable String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
ListBranchesResponse.setBranches(List<BitbucketNodeEntity> branches) |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.