Add API for work in progress workflow
Change-Id: Idb0faa778977038cea336da38acdfb4089679618
This commit is contained in:
@@ -87,6 +87,18 @@ public interface ChangeApi {
|
||||
|
||||
void setPrivate(boolean value) throws RestApiException;
|
||||
|
||||
void setWorkInProgress(String message) throws RestApiException;
|
||||
|
||||
void setReadyForReview(String message) throws RestApiException;
|
||||
|
||||
default void setWorkInProgress() throws RestApiException {
|
||||
setWorkInProgress(null);
|
||||
}
|
||||
|
||||
default void setReadyForReview() throws RestApiException {
|
||||
setReadyForReview(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ignore or un-ignore this change.
|
||||
*
|
||||
@@ -327,6 +339,16 @@ public interface ChangeApi {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setWorkInProgress(String message) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setReadyForReview(String message) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChangeApi revert() {
|
||||
throw new NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user