public class PostReview extends RetryingRestModifyView<RevisionResource,ReviewInput,Response<ReviewResult>>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_ADDING_REVIEWER |
static java.lang.String |
ERROR_WIP_READY_MUTUALLY_EXCLUSIVE |
static java.lang.String |
START_REVIEW_MESSAGE |
Modifier and Type | Method and Description |
---|---|
Response<ReviewResult> |
apply(BatchUpdate.Factory updateFactory,
RevisionResource revision,
ReviewInput input,
java.sql.Timestamp ts) |
protected Response<ReviewResult> |
applyImpl(BatchUpdate.Factory updateFactory,
RevisionResource revision,
ReviewInput input) |
apply
public static final java.lang.String ERROR_ADDING_REVIEWER
public static final java.lang.String ERROR_WIP_READY_MUTUALLY_EXCLUSIVE
public static final java.lang.String START_REVIEW_MESSAGE
protected Response<ReviewResult> applyImpl(BatchUpdate.Factory updateFactory, RevisionResource revision, ReviewInput input) throws RestApiException, UpdateException, java.io.IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException, PatchListNotAvailableException
applyImpl
in class RetryingRestModifyView<RevisionResource,ReviewInput,Response<ReviewResult>>
RestApiException
UpdateException
java.io.IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
PatchListNotAvailableException
public Response<ReviewResult> apply(BatchUpdate.Factory updateFactory, RevisionResource revision, ReviewInput input, java.sql.Timestamp ts) throws RestApiException, UpdateException, java.io.IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException, PatchListNotAvailableException
RestApiException
UpdateException
java.io.IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
PatchListNotAvailableException