public class PureRevertCache
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPureRevert(ChangeNotes claimedRevert)
Returns
true if claimedRevert is a pure (clean) revert of the change that is
referenced in Change.getRevertOf(). |
boolean |
isPureRevert(Project.NameKey project,
org.eclipse.jgit.lib.ObjectId claimedRevert,
org.eclipse.jgit.lib.ObjectId claimedOriginal)
Returns
true if claimedRevert is a pure (clean) revert of claimedOriginal. |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public boolean isPureRevert(ChangeNotes claimedRevert) throws java.io.IOException, BadRequestException
true if claimedRevert is a pure (clean) revert of the change that is
referenced in Change.getRevertOf().true if claimedRevert is a pure (clean) revert.java.io.IOException - if there was a problem with the storage layerBadRequestException - if there is a problem with the provided ChangeNotespublic boolean isPureRevert(Project.NameKey project, org.eclipse.jgit.lib.ObjectId claimedRevert, org.eclipse.jgit.lib.ObjectId claimedOriginal) throws java.io.IOException, BadRequestException
true if claimedRevert is a pure (clean) revert of claimedOriginal.true if claimedRevert is a pure (clean) revert of claimedOriginal.java.io.IOException - if there was a problem with the storage layerBadRequestException - if there is a problem with the provided ObjectIds