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 VcsRepositories
get()
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:
search
in interfaceVcsSearch<VcsRepositories>
- Parameters:
searchString
- search string, case-insensitive- Returns:
- the same object
-
pageSize
public VcsSearch<VcsRepositories> pageSize(int pageSize)
Description copied from interface:VcsSearch
Sets custom page size for the results- Specified by:
pageSize
in interfaceVcsSearch<VcsRepositories>
- Parameters:
pageSize
- custom page size- Returns:
- the same object
-
page
public VcsSearch<VcsRepositories> page(@NotNull String pageId)
Description copied from interface:VcsSearch
Sets the required page- Specified by:
page
in interfaceVcsSearch<VcsRepositories>
- Parameters:
pageId
- page id, e.g. page number- Returns:
- the same object
-
get
public VcsRepositories get()
Description copied from interface:VcsSearch
Obtains a list of entities from a VCS hosting service- Specified by:
get
in interfaceVcsSearch<VcsRepositories>
- Returns:
- list of repositories with some additional information
-
-