Class GitLabRepositoriesSearch
- java.lang.Object
-
- jetbrains.buildServer.vcshostings.gitlab.GitLabRepositoriesSearch
-
- All Implemented Interfaces:
VcsSearch<VcsRepositories>
public class GitLabRepositoriesSearch extends Object implements VcsSearch<VcsRepositories>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VcsRepositoriesget()Obtains a list of entities from a VCS hosting serviceVcsSearch<VcsRepositories>page(String pageId)Sets the required pageVcsSearch<VcsRepositories>pageSize(int pageSize)Sets custom page size for the resultsVcsSearch<VcsRepositories>search(String searchString)GitLab specific: if the search term is two or fewer characters long, the search may return exact matches over the term instead of substring matches (e.g.
-
-
-
Method Detail
-
search
public VcsSearch<VcsRepositories> search(@NotNull String searchString)
GitLab specific: if the search term is two or fewer characters long, the search may return exact matches over the term instead of substring matches (e.g. "te" yields repository named exactly "te", while "team" yields both "teamcity" and "some-teamrepo").- Specified by:
searchin interfaceVcsSearch<VcsRepositories>- Parameters:
searchString- search string, case-insensitive- Returns:
- the same object
-
pageSize
public VcsSearch<VcsRepositories> 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 VcsSearch<VcsRepositories> 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
-
-