Class DeltaExtractionService
java.lang.Object
edu.university.ecs.lab.delta.services.DeltaExtractionService
Service for extracting the differences between a local and remote repository and generating delta
-
Constructor Summary
ConstructorDescriptionDeltaExtractionService
(String configPath, String commitOld, String commitNew) Constructor for the delta extraction service -
Method Summary
Modifier and TypeMethodDescriptionvoid
Generate delta between base branch and base branch + 1void
generateDelta
(List<org.eclipse.jgit.diff.DiffEntry> diffEntries) Process the differences between the local and remote repository and write the differences to a file.
-
Constructor Details
-
DeltaExtractionService
Constructor for the delta extraction service- Parameters:
configPath
- file path to the configuration file
-
-
Method Details
-
generateDelta
public void generateDelta()Generate delta between base branch and base branch + 1 -
generateDelta
Process the differences between the local and remote repository and write the differences to a file.- Parameters:
diffEntries
- the list of differences extracted
-