Class Changes.QueryRequest
java.lang.Object
com.google.gerrit.extensions.api.changes.Changes.QueryRequest
- Enclosing interface:
- Changes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ChangeInfo>
get()
boolean
int
getLimit()
boolean
getQuery()
int
getStart()
toString()
withAllowIncompleteResults
(boolean allow) withLimit
(int limit) withOption
(ListChangesOption options) Set an option on the request, appending to existing options.withOptions
(ListChangesOption... options) Set options on the request, appending to existing options.withOptions
(Set<ListChangesOption> options) Set options on the request, replacing existing options.withPluginOption
(String name, String value) Set a plugin option on the request, appending to existing options.withPluginOptions
(com.google.common.collect.ListMultimap<String, String> options) Set a plugin option on the request, replacing existing options.withStart
(int start)
-
Constructor Details
-
QueryRequest
public QueryRequest()
-
-
Method Details
-
get
- Throws:
RestApiException
-
withQuery
-
withLimit
-
withNoLimit
-
withStart
-
withAllowIncompleteResults
-
withOption
Set an option on the request, appending to existing options. -
withOptions
Set options on the request, appending to existing options. -
withOptions
Set options on the request, replacing existing options. -
withPluginOption
Set a plugin option on the request, appending to existing options. -
withPluginOptions
public Changes.QueryRequest withPluginOptions(com.google.common.collect.ListMultimap<String, String> options) Set a plugin option on the request, replacing existing options. -
getQuery
-
getLimit
public int getLimit() -
getNoLimit
public boolean getNoLimit() -
getStart
public int getStart() -
getAllowIncompleteResults
public boolean getAllowIncompleteResults() -
getOptions
-
getPluginOptions
-
toString
-