Class GitHubRepositoriesSearch
- java.lang.Object
-
- jetbrains.buildServer.vcshostings.github.GitHubRepositoriesSearch
-
- All Implemented Interfaces:
VcsSearch<VcsRepositories>
public class GitHubRepositoriesSearch extends Object implements VcsSearch<VcsRepositories>
-
-
Constructor Summary
Constructors Constructor Description GitHubRepositoriesSearch(jetbrains.buildServer.vcshostings.github.GitHubFacade informationProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VcsRepositoriesget()Obtains a list of entities from a VCS hosting serviceGitHubRepositoriesSearchpage(String pageId)Sets the required pageGitHubRepositoriesSearchpageSize(int pageSize)Sets custom page size for the resultsGitHubRepositoriesSearchsearch(String searchString)Sets a search string (if supported).
-
-
-
Method Detail
-
search
public GitHubRepositoriesSearch 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<VcsRepositories>- Parameters:
searchString- search string, case-insensitive- Returns:
- the same object
-
pageSize
public GitHubRepositoriesSearch pageSize(int pageSize)
Description copied from interface:VcsSearchSets custom page size for the results- Specified by:
pageSizein interfaceVcsSearch<VcsRepositories>- Parameters:
pageSize- custom page size- Returns:
- the same object
-
page
public GitHubRepositoriesSearch page(@NotNull String pageId)
Description copied from interface:VcsSearchSets the required page- Specified by:
pagein interfaceVcsSearch<VcsRepositories>- Parameters:
pageId- page id, e.g. page number- Returns:
- the same object
-
get
public VcsRepositories get()
Description copied from interface:VcsSearchObtains a list of entities from a VCS hosting service- Specified by:
getin interfaceVcsSearch<VcsRepositories>- Returns:
- list of repositories with some additional information
-
-