Package com.google.gerrit.common.data
Class PatchScript
java.lang.Object
com.google.gerrit.common.data.PatchScript
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
static class
-
Constructor Summary
ConstructorsConstructorDescriptionPatchScript
(Patch.ChangeType ct, String on, String nn, PatchScript.FileMode om, PatchScript.FileMode nm, com.google.common.collect.ImmutableList<String> h, DiffPreferencesInfo dp, com.google.gerrit.prettify.common.SparseFileContent ca, com.google.gerrit.prettify.common.SparseFileContent cb, com.google.common.collect.ImmutableList<org.eclipse.jgit.diff.Edit> e, com.google.common.collect.ImmutableSet<org.eclipse.jgit.diff.Edit> editsDueToRebase, PatchScript.DisplayMethod ma, PatchScript.DisplayMethod mb, String mta, String mtb, boolean idf, boolean idt, boolean bin, String cma, String cmb) -
Method Summary
-
Constructor Details
-
PatchScript
public PatchScript(Patch.ChangeType ct, String on, String nn, PatchScript.FileMode om, PatchScript.FileMode nm, com.google.common.collect.ImmutableList<String> h, DiffPreferencesInfo dp, com.google.gerrit.prettify.common.SparseFileContent ca, com.google.gerrit.prettify.common.SparseFileContent cb, com.google.common.collect.ImmutableList<org.eclipse.jgit.diff.Edit> e, com.google.common.collect.ImmutableSet<org.eclipse.jgit.diff.Edit> editsDueToRebase, PatchScript.DisplayMethod ma, PatchScript.DisplayMethod mb, String mta, String mtb, boolean idf, boolean idt, boolean bin, String cma, String cmb)
-
-
Method Details
-
getPatchHeader
-
getChangeType
-
getOldName
-
getNewName
-
getDiffPrefs
-
isIgnoreWhitespace
public boolean isIgnoreWhitespace() -
hasIntralineFailure
public boolean hasIntralineFailure() -
hasIntralineTimeout
public boolean hasIntralineTimeout() -
getA
public com.google.gerrit.prettify.common.SparseFileContent getA() -
getB
public com.google.gerrit.prettify.common.SparseFileContent getB() -
getEdits
-
getEditsDueToRebase
-
isBinary
public boolean isBinary() -
getFileInfoA
-
getFileInfoB
-