Class FileEdits
- java.lang.Object
- 
- com.google.gerrit.server.patch.filediff.FileEdits
 
- 
 public abstract class FileEdits extends Object An entity class containing the list of edits between two commits for a file, and the old and new paths.
- 
- 
Constructor SummaryConstructors Constructor Description FileEdits()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static FileEditscreate(com.google.common.collect.ImmutableList<Edit> edits, Optional<String> oldPath, Optional<String> newPath)static FileEditscreateFromJgitEdits(com.google.common.collect.ImmutableList<org.eclipse.jgit.diff.Edit> jgitEdits, Optional<String> oldPath, Optional<String> newPath)abstract com.google.common.collect.ImmutableList<Edit>edits()static FileEditsempty()abstract Optional<String>newPath()abstract Optional<String>oldPath()
 
- 
- 
- 
Method Detail- 
createpublic static FileEdits create(com.google.common.collect.ImmutableList<Edit> edits, Optional<String> oldPath, Optional<String> newPath) 
 - 
createFromJgitEditspublic static FileEdits createFromJgitEdits(com.google.common.collect.ImmutableList<org.eclipse.jgit.diff.Edit> jgitEdits, Optional<String> oldPath, Optional<String> newPath) 
 - 
editspublic abstract com.google.common.collect.ImmutableList<Edit> edits() 
 - 
emptypublic static FileEdits empty() 
 
- 
 
-