public class DiffDescription extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
DiffDescription(java.lang.String name)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addLeftChange(int startOffset,
int endOffset)
Adds a change within a line region (that is highlighted) for the left side.
|
void |
addLeftChangeRegions(UnmodifiableList<java.lang.Integer> leftChangeRegions)
Adds the given list to the leftChangeRegions
|
void |
addLineRegion(int leftFirstLine,
int leftEndLine,
int rightFirstLine,
int rightEndLine)
Adds a line region that is matched between the left and right element.
|
void |
addRightChange(int startOffset,
int endOffset)
Adds a change within a line region (that is highlighted) for the right side.
|
void |
addRightChangeRegions(UnmodifiableList<java.lang.Integer> rightChangeRegions)
Adds the given list to the rightChangeRegions
|
UnmodifiableList<java.lang.Integer> |
getLeftChangeLines()
Returns the line changes for the left lines.
|
UnmodifiableList<java.lang.Integer> |
getLeftChangeRegions()
Returns the change regions for the left lines.
|
java.lang.String |
getName()
Returns the name.
|
UnmodifiableList<java.lang.Integer> |
getRightChangeLines()
Returns the line changes for the right lines.
|
UnmodifiableList<java.lang.Integer> |
getRightChangeRegions()
Returns the change regions for the right lines.
|
public DiffDescription(java.lang.String name)
public java.lang.String getName()
public void addLineRegion(int leftFirstLine, int leftEndLine, int rightFirstLine, int rightEndLine)
public void addLeftChange(int startOffset, int endOffset)
public void addRightChange(int startOffset, int endOffset)
public UnmodifiableList<java.lang.Integer> getLeftChangeRegions()
public UnmodifiableList<java.lang.Integer> getRightChangeRegions()
public void addLeftChangeRegions(UnmodifiableList<java.lang.Integer> leftChangeRegions)
public void addRightChangeRegions(UnmodifiableList<java.lang.Integer> rightChangeRegions)
public UnmodifiableList<java.lang.Integer> getLeftChangeLines()
public UnmodifiableList<java.lang.Integer> getRightChangeLines()