Class GitLabVcsBranches
- java.lang.Object
-
- jetbrains.buildServer.vcshostings.gitlab.GitLabVcsBranches
-
- All Implemented Interfaces:
Pageable
,VcsBranches
public class GitLabVcsBranches extends Object implements VcsBranches
-
-
Constructor Summary
Constructors Constructor Description GitLabVcsBranches(Collection<GitLabBranch> branches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends ExternalBranch>
getBranches()
Integer
getTotalCount()
boolean
hasMore()
String
nextPage()
-
-
-
Constructor Detail
-
GitLabVcsBranches
public GitLabVcsBranches(Collection<GitLabBranch> branches)
-
-
Method Detail
-
getBranches
@NotNull public Collection<? extends ExternalBranch> getBranches()
- Specified by:
getBranches
in interfaceVcsBranches
- Returns:
- resulting branches collection
-
hasMore
public boolean hasMore()
-
nextPage
@Nullable public String nextPage()
-
getTotalCount
@Nullable public Integer getTotalCount()
- Specified by:
getTotalCount
in interfacePageable
- Returns:
- total number of repositories matching the search criteria (if available), null otherwise
-
-