Class DeltaExtractionService

java.lang.Object
edu.university.ecs.lab.delta.services.DeltaExtractionService

public class DeltaExtractionService extends Object
Service for extracting the differences between a local and remote repository and generating delta
  • Constructor Details

    • DeltaExtractionService

      public DeltaExtractionService(String configPath, String commitOld, String commitNew)
      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

      public void generateDelta(List<org.eclipse.jgit.diff.DiffEntry> diffEntries)
      Process the differences between the local and remote repository and write the differences to a file.
      Parameters:
      diffEntries - the list of differences extracted