Class DeleteRef
- java.lang.Object
- 
- com.google.gerrit.server.restapi.project.DeleteRef
 
- 
 public class DeleteRef extends Object 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteMultipleRefs(ProjectState projectState, com.google.common.collect.ImmutableSet<String> refsToDelete, String prefix)Deletes a set of refs from the repository.voiddeleteSingleRef(ProjectState projectState, String ref)Deletes a single ref from the repository.voiddeleteSingleRef(ProjectState projectState, String ref, String prefix)Deletes a single ref from the repository.
 
- 
- 
- 
Method Detail- 
deleteSingleRefpublic void deleteSingleRef(ProjectState projectState, String ref) throws IOException, ResourceConflictException, AuthException, PermissionBackendException Deletes a single ref from the repository.- Parameters:
- projectState- the- ProjectStateof the project containing the target ref.
- ref- the ref to be deleted.
- Throws:
- IOException
- ResourceConflictException
- AuthException
- PermissionBackendException
 
 - 
deleteSingleRefpublic void deleteSingleRef(ProjectState projectState, String ref, String prefix) throws IOException, ResourceConflictException, AuthException, PermissionBackendException Deletes a single ref from the repository.- Parameters:
- projectState- the- ProjectStateof the project containing the target ref.
- ref- the ref to be deleted.
- prefix- the prefix of the ref.
- Throws:
- IOException
- ResourceConflictException
- AuthException
- PermissionBackendException
 
 - 
deleteMultipleRefspublic void deleteMultipleRefs(ProjectState projectState, com.google.common.collect.ImmutableSet<String> refsToDelete, String prefix) throws IOException, ResourceConflictException, PermissionBackendException, AuthException Deletes a set of refs from the repository.- Parameters:
- projectState- the- ProjectStateof the project whose refs are to be deleted.
- refsToDelete- the refs to be deleted.
- prefix- the prefix of the refs.
- Throws:
- IOException
- ResourceConflictException
- PermissionBackendException
- AuthException
 
 
- 
 
-