public class PostReviewers extends RetryingRestModifyView<ChangeResource,AddReviewerInput,AddReviewerResult>
Modifier and Type | Class and Description |
---|---|
class |
PostReviewers.Addition |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_REVIEWERS |
static int |
DEFAULT_MAX_REVIEWERS_WITHOUT_CHECK |
Modifier and Type | Method and Description |
---|---|
protected AddReviewerResult |
applyImpl(BatchUpdate.Factory updateFactory,
ChangeResource rsrc,
AddReviewerInput input) |
static boolean |
isLegalReviewerGroup(AccountGroup.UUID groupUUID) |
PostReviewers.Addition |
prepareApplication(ChangeResource rsrc,
AddReviewerInput input,
boolean allowGroup) |
apply
public static final int DEFAULT_MAX_REVIEWERS_WITHOUT_CHECK
public static final int DEFAULT_MAX_REVIEWERS
protected AddReviewerResult applyImpl(BatchUpdate.Factory updateFactory, ChangeResource rsrc, AddReviewerInput input) throws java.io.IOException, com.google.gwtorm.server.OrmException, RestApiException, UpdateException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException
applyImpl
in class RetryingRestModifyView<ChangeResource,AddReviewerInput,AddReviewerResult>
java.io.IOException
com.google.gwtorm.server.OrmException
RestApiException
UpdateException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
public PostReviewers.Addition prepareApplication(ChangeResource rsrc, AddReviewerInput input, boolean allowGroup) throws com.google.gwtorm.server.OrmException, java.io.IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException
com.google.gwtorm.server.OrmException
java.io.IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
public static boolean isLegalReviewerGroup(AccountGroup.UUID groupUUID)