Uses of Class
org.gitlab4j.api.models.Branch
-
Packages that use Branch Package Description org.gitlab4j.api org.gitlab4j.api.models -
-
Uses of Branch in org.gitlab4j.api
Methods in org.gitlab4j.api that return Branch Modifier and Type Method Description Branch
RepositoryApi. createBranch(Object projectIdOrPath, String branchName, String ref)
Creates a branch for the project.Branch
RepositoryApi. getBranch(Object projectIdOrPath, String branchName)
Get a single project repository branch.Branch
RepositoryApi. protectBranch(Object projectIdOrPath, String branchName)
Protects a single project repository branch.Branch
RepositoryApi. unprotectBranch(Object projectIdOrPath, String branchName)
Unprotects a single project repository branch.Methods in org.gitlab4j.api that return types with arguments of type Branch Modifier and Type Method Description List<Branch>
RepositoryApi. getBranches(Object projectIdOrPath)
Get a list of repository branches from a project, sorted by name alphabetically.Pager<Branch>
RepositoryApi. getBranches(Object projectIdOrPath, int itemsPerPage)
Get a Pager of repository branches from a project, sorted by name alphabetically.List<Branch>
RepositoryApi. getBranches(Object projectIdOrPath, int page, int perPage)
Get a list of repository branches from a project, sorted by name alphabetically.Stream<Branch>
RepositoryApi. getBranchesStream(Object projectIdOrPath)
Get a Stream of repository branches from a project, sorted by name alphabetically.Optional<Branch>
RepositoryApi. getOptionalBranch(Object projectIdOrPath, String branchName)
Get an Optional instance with the value for the specific repository branch. -
Uses of Branch in org.gitlab4j.api.models
Methods in org.gitlab4j.api.models that return Branch Modifier and Type Method Description Branch
Branch. withCommit(Commit commit)
Branch
Branch. withDerged(Boolean merged)
Branch
Branch. withDevelopersCanMerge(Boolean developersCanMerge)
Branch
Branch. withDevelopersCanPush(Boolean developersCanPush)
Branch
Branch. withIsProtected(Boolean isProtected)
Branch
Branch. withName(String name)
Methods in org.gitlab4j.api.models with parameters of type Branch Modifier and Type Method Description static boolean
Branch. isValid(Branch branch)
-