| Package | Description |
|---|---|
| org.gitlab4j.api | |
| org.gitlab4j.api.models |
| Modifier and Type | Method | Description |
|---|---|---|
Branch |
RepositoryApi.createBranch(Integer projectId,
String branchName,
String ref) |
Creates a branch for the project.
|
Branch |
RepositoryApi.getBranch(Integer projectId,
String branchName) |
Get a single project repository branch.
|
Branch |
RepositoryApi.protectBranch(Integer projectId,
String branchName) |
Protects a single project repository branch.
|
Branch |
RepositoryApi.unprotectBranch(Integer projectId,
String branchName) |
Unprotects a single project repository branch.
|
| Modifier and Type | Method | Description |
|---|---|---|
List<Branch> |
RepositoryApi.getBranches(Integer projectId) |
Get a list of repository branches from a project, sorted by name alphabetically.
|
Pager<Branch> |
RepositoryApi.getBranches(Integer projectId,
int itemsPerPage) |
Get a Pager of repository branches from a project, sorted by name alphabetically.
|
List<Branch> |
RepositoryApi.getBranches(Integer projectId,
int page,
int perPage) |
Get a list of repository branches from a project, sorted by name alphabetically.
|
| Modifier and Type | Method | Description |
|---|---|---|
static boolean |
Branch.isValid(Branch branch) |
Copyright © 2018. All rights reserved.