Klasse Change
java.lang.Object
io.jenkins.plugins.forensics.delta.Change
- Alle implementierten Schnittstellen:
Serializable
A change made on specific lines within a specific file.
The interval of lines which contains the change is defined by a starting and an ending point (1-based line counter). Also, the affected lines of the file before the change has been inserted are specified by a starting and an ending point, as already described, in order to be able to determine removed lines for example.
- Autor:
- Florian Orendi
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungChange
(ChangeEditType changeEditType, int changedFromLine, int changedToLine, int fromLine, int toLine) Constructor for an instance which wraps a specific change within a file. -
Methodenübersicht
-
Konstruktordetails
-
Change
public Change(ChangeEditType changeEditType, int changedFromLine, int changedToLine, int fromLine, int toLine) Constructor for an instance which wraps a specific change within a file.- Parameter:
changeEditType
- The type of the changechangedFromLine
- The starting line of the lines which are affected by the changechangedToLine
- The ending line of the lines which are affected by the changefromLine
- The starting line of the inserted changetoLine
- The ending line of the inserted change
-
-
Methodendetails
-
getEditType
-
getChangedFromLine
public int getChangedFromLine() -
getChangedToLine
public int getChangedToLine() -
getFromLine
public int getFromLine() -
getToLine
public int getToLine() -
equals
-
hashCode
public int hashCode()
-