Klasse DeltaCalculator
java.lang.Object
io.jenkins.plugins.forensics.delta.DeltaCalculator
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
DeltaCalculator.NullDeltaCalculator
Calculates the code difference - so called 'delta' - between two commits.
- Autor:
- Florian Orendi
- Siehe auch:
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic class
A delta calculator that does nothing. -
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcalculateDelta
(Run<?, ?> build, Run<?, ?> referenceBuild, edu.hm.hafner.util.FilteredLog logger) Calculates theDelta
between two passed Jenkins builds.calculateDelta
(Run<?, ?> build, Run<?, ?> referenceBuild, String scmKeyFilter, edu.hm.hafner.util.FilteredLog logger) Veraltet.
-
Konstruktordetails
-
DeltaCalculator
public DeltaCalculator()
-
-
Methodendetails
-
calculateDelta
public Optional<Delta> calculateDelta(Run<?, ?> build, Run<?, ?> referenceBuild, edu.hm.hafner.util.FilteredLog logger) Calculates theDelta
between two passed Jenkins builds.- Parameter:
build
- the currently processed buildreferenceBuild
- The reference buildlogger
- 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) Veraltet.usecalculateDelta(Run, Run, FilteredLog)
insteadCalculates theDelta
between two passed Jenkins builds.- Parameter:
build
- The currently processed buildreferenceBuild
- The reference buildscmKeyFilter
- The SCM key filterlogger
- The used log- Gibt zurück:
- the delta if it could be calculated
-
calculateDelta(Run, Run, FilteredLog)
instead