Klasse DeltaCalculator

java.lang.Object
io.jenkins.plugins.forensics.delta.DeltaCalculator
Alle implementierten Schnittstellen:
Serializable
Bekannte direkte Unterklassen:
DeltaCalculator.NullDeltaCalculator

public abstract class DeltaCalculator extends Object implements Serializable
Calculates the code difference - so called 'delta' - between two commits.
Autor:
Florian Orendi
Siehe auch:
  • Konstruktordetails

    • DeltaCalculator

      public DeltaCalculator()
  • Methodendetails

    • calculateDelta

      public Optional<Delta> calculateDelta(Run<?,?> build, Run<?,?> referenceBuild, edu.hm.hafner.util.FilteredLog logger)
      Calculates the Delta between two passed Jenkins builds.
      Parameter:
      build - the currently processed build
      referenceBuild - The reference build
      logger - The used log
      Gibt zurück:
      the delta if it could be calculated
    • calculateDelta

      @Deprecated public abstract Optional<Delta> calculateDelta(Run<?,?> build, Run<?,?> referenceBuild, String scmKeyFilter, edu.hm.hafner.util.FilteredLog logger)
      Calculates the Delta between two passed Jenkins builds.
      Parameter:
      build - The currently processed build
      referenceBuild - The reference build
      scmKeyFilter - The SCM key filter
      logger - The used log
      Gibt zurück:
      the delta if it could be calculated