Class Change
java.lang.Object
io.jenkins.plugins.forensics.delta.Change
- All Implemented Interfaces:
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.
- Author:
- Florian Orendi
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChange
(ChangeEditType changeEditType, int changedFromLine, int changedToLine, int fromLine, int toLine) Constructor for an instance which wraps a specific change within a file. -
Method Summary
-
Constructor Details
-
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.- Parameters:
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
-
-
Method Details