Changes.NotImplemented, Changes.QueryRequest
Constructor and Description |
---|
NotImplemented() |
Modifier and Type | Method and Description |
---|---|
ChangeApi |
create(ChangeInput in) |
ChangeApi |
id(int id)
Look up a change by numeric ID.
|
ChangeApi |
id(String triplet)
Look up a change by string ID.
|
ChangeApi |
id(String project,
int id)
Look up a change by project and numeric ID.
|
ChangeApi |
id(String project,
String branch,
String id)
Look up a change by project, branch, and change ID.
|
Changes.QueryRequest |
query() |
Changes.QueryRequest |
query(String query) |
public ChangeApi id(int id) throws RestApiException
Changes
Note: This method eagerly reads the change. Methods that mutate the change
do not necessarily re-read the change. Therefore, calling a getter method on an instance after
calling a mutation method on that same instance is not guaranteed to reflect the mutation. It
is not recommended to store references to ChangeApi
instances.
id
in interface Changes
id
- change number.RestApiException
- if an error occurred.public ChangeApi id(String triplet) throws RestApiException
Changes
id
in interface Changes
triplet
- any identifier supported by the REST API, including change number, Change-Id, or
project~branch~Change-Id triplet.RestApiException
- if an error occurred.Changes.id(int)
public ChangeApi id(String project, String branch, String id) throws RestApiException
Changes
id
in interface Changes
RestApiException
Changes.id(int)
public ChangeApi id(String project, int id) throws RestApiException
Changes
id
in interface Changes
project
- project name.id
- change number.RestApiException
Changes.id(int)
public ChangeApi create(ChangeInput in) throws RestApiException
create
in interface Changes
RestApiException
public Changes.QueryRequest query()
public Changes.QueryRequest query(String query)