Package com.google.gerrit.server.edit
Class ModificationTarget.EditCommit
java.lang.Object
com.google.gerrit.server.edit.ModificationTarget.EditCommit
- All Implemented Interfaces:
- ModificationTarget
- Enclosing interface:
- ModificationTarget
An existing 
ChangeEdit commit is the target of the modification.- 
Nested Class SummaryNested classes/interfaces inherited from interface com.google.gerrit.server.edit.ModificationTargetModificationTarget.EditCommit, ModificationTarget.PatchsetCommit
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidPatchset within whose context the modification happens.org.eclipse.jgit.revwalk.RevCommitgetCommit(org.eclipse.jgit.lib.Repository repository) Commit to modify.
- 
Method Details- 
ensureNewEditMayBeBasedOnTarget- Specified by:
- ensureNewEditMayBeBasedOnTargetin interface- ModificationTarget
 
- 
ensureTargetMayBeModifiedDespiteExistingEdit- Specified by:
- ensureTargetMayBeModifiedDespiteExistingEditin interface- ModificationTarget
 
- 
getCommitpublic org.eclipse.jgit.revwalk.RevCommit getCommit(org.eclipse.jgit.lib.Repository repository) throws IOException Description copied from interface:ModificationTargetCommit to modify.- Specified by:
- getCommitin interface- ModificationTarget
- Throws:
- IOException
 
- 
getBasePatchsetDescription copied from interface:ModificationTargetPatchset within whose context the modification happens. This also applies to change edits as each change edit is based on a specific patchset.- Specified by:
- getBasePatchsetin interface- ModificationTarget
 
 
-