Package com.google.gerrit.common.data
Class PatchScript
- java.lang.Object
-
- com.google.gerrit.common.data.PatchScript
-
public class PatchScript extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatchScript.DisplayMethod
static class
PatchScript.FileMode
static class
PatchScript.PatchScriptFileInfo
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gerrit.prettify.common.SparseFileContent
getA()
com.google.gerrit.prettify.common.SparseFileContent
getB()
Patch.ChangeType
getChangeType()
DiffPreferencesInfo
getDiffPrefs()
List<org.eclipse.jgit.diff.Edit>
getEdits()
Set<org.eclipse.jgit.diff.Edit>
getEditsDueToRebase()
PatchScript.PatchScriptFileInfo
getFileInfoA()
PatchScript.PatchScriptFileInfo
getFileInfoB()
String
getNewName()
String
getOldName()
List<String>
getPatchHeader()
boolean
hasIntralineFailure()
boolean
hasIntralineTimeout()
boolean
isBinary()
boolean
isIgnoreWhitespace()
-
-
-
Constructor Detail
-
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 Detail
-
getChangeType
public Patch.ChangeType getChangeType()
-
getOldName
public String getOldName()
-
getNewName
public String getNewName()
-
getDiffPrefs
public DiffPreferencesInfo 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
public List<org.eclipse.jgit.diff.Edit> getEdits()
-
getEditsDueToRebase
public Set<org.eclipse.jgit.diff.Edit> getEditsDueToRebase()
-
isBinary
public boolean isBinary()
-
getFileInfoA
public PatchScript.PatchScriptFileInfo getFileInfoA()
-
getFileInfoB
public PatchScript.PatchScriptFileInfo getFileInfoB()
-
-