Class GitHubBranchesSearch
- java.lang.Object
-
- jetbrains.buildServer.vcshostings.github.GitHubBranchesSearch
-
- All Implemented Interfaces:
VcsSearch<VcsBranches>
public class GitHubBranchesSearch extends Object implements VcsSearch<VcsBranches>
-
-
Constructor Summary
Constructors Constructor Description GitHubBranchesSearch(jetbrains.buildServer.vcshostings.github.GitHubFacade informationProvider, String repositoryName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VcsBranchesget()Obtains a list of entities from a VCS hosting serviceVcsSearch<VcsBranches>page(String pageId)Sets the required pageVcsSearch<VcsBranches>pageSize(int pageSize)Sets custom page size for the resultsVcsSearch<VcsBranches>search(String searchString)Sets a search string (if supported).
-
-
-
Constructor Detail
-
GitHubBranchesSearch
public GitHubBranchesSearch(jetbrains.buildServer.vcshostings.github.GitHubFacade informationProvider, String repositoryName)
-
-
Method Detail
-
search
public VcsSearch<VcsBranches> search(@NotNull String searchString)
Description copied from interface:VcsSearchSets a search string (if supported). The search string is matched across entity names- Specified by:
searchin interfaceVcsSearch<VcsBranches>- Parameters:
searchString- search string, case-insensitive- Returns:
- the same object
-
pageSize
public VcsSearch<VcsBranches> pageSize(int pageSize)
Description copied from interface:VcsSearchSets custom page size for the results- Specified by:
pageSizein interfaceVcsSearch<VcsBranches>- Parameters:
pageSize- custom page size- Returns:
- the same object
-
page
public VcsSearch<VcsBranches> page(@NotNull String pageId)
Description copied from interface:VcsSearchSets the required page- Specified by:
pagein interfaceVcsSearch<VcsBranches>- Parameters:
pageId- page id, e.g. page number- Returns:
- the same object
-
get
public VcsBranches get()
Description copied from interface:VcsSearchObtains a list of entities from a VCS hosting service- Specified by:
getin interfaceVcsSearch<VcsBranches>- Returns:
- list of repositories with some additional information
-
-