Class GitHubVcsBranches
- java.lang.Object
-
- jetbrains.buildServer.vcshostings.github.GitHubVcsBranches
-
- All Implemented Interfaces:
Pageable
,VcsBranches
public class GitHubVcsBranches extends Object implements VcsBranches
-
-
Constructor Summary
Constructors Constructor Description GitHubVcsBranches(Collection<GitHubBranch> 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
-
GitHubVcsBranches
public GitHubVcsBranches(Collection<GitHubBranch> 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
-
-