Class PostReview
- java.lang.Object
-
- com.google.gerrit.server.update.RetryingRestModifyView<RevisionResource,ReviewInput,ReviewResult>
-
- com.google.gerrit.server.restapi.change.PostReview
-
- All Implemented Interfaces:
RestModifyView<RevisionResource,ReviewInput>
,RestView<RevisionResource>
public class PostReview extends RetryingRestModifyView<RevisionResource,ReviewInput,ReviewResult>
-
-
Field Summary
Fields Modifier and Type Field Description static String
ERROR_WIP_READY_MUTUALLY_EXCLUSIVE
static String
START_REVIEW_MESSAGE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<ReviewResult>
apply(BatchUpdate.Factory updateFactory, RevisionResource revision, ReviewInput input, Timestamp ts)
protected Response<ReviewResult>
applyImpl(BatchUpdate.Factory updateFactory, RevisionResource revision, ReviewInput input)
-
Methods inherited from class com.google.gerrit.server.update.RetryingRestModifyView
apply
-
-
-
-
Field Detail
-
ERROR_WIP_READY_MUTUALLY_EXCLUSIVE
public static final String ERROR_WIP_READY_MUTUALLY_EXCLUSIVE
- See Also:
- Constant Field Values
-
START_REVIEW_MESSAGE
public static final String START_REVIEW_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
applyImpl
protected Response<ReviewResult> applyImpl(BatchUpdate.Factory updateFactory, RevisionResource revision, ReviewInput input) throws RestApiException, UpdateException, IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException, PatchListNotAvailableException
- Specified by:
applyImpl
in classRetryingRestModifyView<RevisionResource,ReviewInput,ReviewResult>
- Throws:
RestApiException
UpdateException
IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
PatchListNotAvailableException
-
apply
public Response<ReviewResult> apply(BatchUpdate.Factory updateFactory, RevisionResource revision, ReviewInput input, Timestamp ts) throws RestApiException, UpdateException, IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException, PatchListNotAvailableException
- Throws:
RestApiException
UpdateException
IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
PatchListNotAvailableException
-
-