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()
int
getLimit()
Set<ListChangesOption>
getOptions()
String
getQuery()
int
getStart()
String
toString()
Changes.QueryRequest
withLimit(int limit)
Changes.QueryRequest
withOption(ListChangesOption options)
Set an option on the request, appending to existing options.Changes.QueryRequest
withOptions(ListChangesOption... options)
Set options on the request, appending to existing options.Changes.QueryRequest
withOptions(Set<ListChangesOption> options)
Set options on the request, replacing existing options.Changes.QueryRequest
withQuery(String query)
Changes.QueryRequest
withStart(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)
-
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.
-
getQuery
public String getQuery()
-
getLimit
public int getLimit()
-
getStart
public int getStart()
-
getOptions
public Set<ListChangesOption> getOptions()
-
-