Klasse ReferenceFinder

java.lang.Object
io.jenkins.plugins.forensics.reference.ReferenceFinder

public class ReferenceFinder extends Object
A small wrapper around the ReferenceBuild action to provide consumers a simple API to obtain a reference build.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • ReferenceFinder

      public ReferenceFinder()
  • Methodendetails

    • findReference

      public Optional<Run<?,?>> findReference(Run<?,?> build, edu.hm.hafner.util.FilteredLog log)
      Tries to find a reference build using a registered ReferenceBuild instance.
      Parameter:
      build - the current build to get the reference build for
      log - a logger
      Gibt zurück:
      the recorded reference build if available