Class CachingCheckRunCollector

java.lang.Object
io.jenkins.plugins.gerritchecksapi.CachingCheckRunCollector
All Implemented Interfaces:
CheckRunCollector

public class CachingCheckRunCollector extends Object implements CheckRunCollector
  • Method Details

    • collectFor

      public Map<Job<?,?>,List<CheckRun>> collectFor(PatchSetId ps)
      Specified by:
      collectFor in interface CheckRunCollector
    • invalidate

      public static void invalidate(PatchSetId ps)
      Drops what was collected for a patchset, so that the next poll collects it again. A build that starts is what a patchset reports from then on — the rerun the user is waiting for — and one that finishes reports the stages it ran last; both would otherwise be served from the collection made before them until it expires.