Class Changes.QueryRequest
- java.lang.Object
-
- com.google.gerrit.extensions.api.changes.Changes.QueryRequest
-
-
Constructor Summary
Constructors Constructor Description QueryRequest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract List<ChangeInfo>get()intgetLimit()booleangetNoLimit()Set<ListChangesOption>getOptions()com.google.common.collect.ListMultimap<String,String>getPluginOptions()StringgetQuery()intgetStart()StringtoString()Changes.QueryRequestwithLimit(int limit)Changes.QueryRequestwithNoLimit()Changes.QueryRequestwithOption(ListChangesOption options)Set an option on the request, appending to existing options.Changes.QueryRequestwithOptions(ListChangesOption... options)Set options on the request, appending to existing options.Changes.QueryRequestwithOptions(Set<ListChangesOption> options)Set options on the request, replacing existing options.Changes.QueryRequestwithPluginOption(String name, String value)Set a plugin option on the request, appending to existing options.Changes.QueryRequestwithPluginOptions(com.google.common.collect.ListMultimap<String,String> options)Set a plugin option on the request, replacing existing options.Changes.QueryRequestwithQuery(String query)Changes.QueryRequestwithStart(int start)
-
-
-
Method Detail
-
get
public abstract List<ChangeInfo> get() throws RestApiException
- Throws:
RestApiException
-
withQuery
public Changes.QueryRequest withQuery(String query)
-
withLimit
public Changes.QueryRequest withLimit(int limit)
-
withNoLimit
public Changes.QueryRequest withNoLimit()
-
withStart
public Changes.QueryRequest withStart(int start)
-
withOption
public Changes.QueryRequest withOption(ListChangesOption options)
Set an option on the request, appending to existing options.
-
withOptions
public Changes.QueryRequest withOptions(ListChangesOption... options)
Set options on the request, appending to existing options.
-
withOptions
public Changes.QueryRequest withOptions(Set<ListChangesOption> options)
Set options on the request, replacing existing options.
-
withPluginOption
public Changes.QueryRequest withPluginOption(String name, String value)
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
public String getQuery()
-
getLimit
public int getLimit()
-
getNoLimit
public boolean getNoLimit()
-
getStart
public int getStart()
-
getOptions
public Set<ListChangesOption> getOptions()
-
-