Class CreateChange
- java.lang.Object
-
- com.google.gerrit.server.update.RetryingRestModifyView<ProjectResource,ChangeInput,ChangeInfo>
-
- com.google.gerrit.server.restapi.project.CreateChange
-
- All Implemented Interfaces:
RestModifyView<ProjectResource,ChangeInput>
,RestView<ProjectResource>
public class CreateChange extends RetryingRestModifyView<ProjectResource,ChangeInput,ChangeInfo>
-
-
Constructor Summary
Constructors Constructor Description CreateChange(RetryHelper retryHelper, com.google.inject.Provider<CurrentUser> user, CreateChange changeCreateChange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<ChangeInfo>
applyImpl(BatchUpdate.Factory updateFactory, ProjectResource rsrc, ChangeInput input)
-
Methods inherited from class com.google.gerrit.server.update.RetryingRestModifyView
apply
-
-
-
-
Constructor Detail
-
CreateChange
@Inject public CreateChange(RetryHelper retryHelper, com.google.inject.Provider<CurrentUser> user, CreateChange changeCreateChange)
-
-
Method Detail
-
applyImpl
public Response<ChangeInfo> applyImpl(BatchUpdate.Factory updateFactory, ProjectResource rsrc, ChangeInput input) throws PermissionBackendException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, InvalidChangeOperationException, com.google.gerrit.exceptions.InvalidNameException, UpdateException, RestApiException
- Specified by:
applyImpl
in classRetryingRestModifyView<ProjectResource,ChangeInput,ChangeInfo>
- Throws:
PermissionBackendException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
InvalidChangeOperationException
com.google.gerrit.exceptions.InvalidNameException
UpdateException
RestApiException
-
-