Class Projects.QueryRequest
java.lang.Object
com.google.gerrit.extensions.api.projects.Projects.QueryRequest
- Enclosing interface:
- Projects
API for setting parameters and getting result. Used for
query()
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QueryRequest
public QueryRequest()
-
-
Method Details
-
get
Execute query and returns the matched projects as list.- Throws:
RestApiException
-
withQuery
Set query.- Parameters:
query
- needs to be in human-readable form.
-
withLimit
Set limit for returned list of projects. Optional; server-default is used when not provided. -
withStart
Set number of projects to skip. Optional; no projects are skipped when not provided. -
getQuery
-
getLimit
public int getLimit() -
getStart
public int getStart()
-