Change API: Add convenience get() and info() methods
Add aliases to ChangeInfo get(EnumSet<ListChangesOption>) method for frequently used change info retrieval operations: * get() with ListChangesOption set to ALL * info() with ListChangesOption set to NONE Change-Id: Ie9229923d1af39c34ca4dbffec8511e242051a9a
This commit is contained in:
		| @@ -40,4 +40,9 @@ public interface ChangeApi { | ||||
|   void addReviewer(String in) throws RestApiException; | ||||
|  | ||||
|   ChangeInfo get(EnumSet<ListChangesOption> options) throws RestApiException; | ||||
|  | ||||
|   /** {@code get} with {@link ListChangesOption} set to ALL. */ | ||||
|   ChangeInfo get() throws RestApiException; | ||||
|   /** {@code get} with {@link ListChangesOption} set to NONE. */ | ||||
|   ChangeInfo info() throws RestApiException; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Ostrovsky
					David Ostrovsky