Package hudson.model

Class Run.StatusSummarizer

java.lang.Object
hudson.model.Run.StatusSummarizer
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
Run<JobT extends Job<JobT,RunT>,RunT extends Run<JobT,RunT>>

public abstract static class Run.StatusSummarizer extends Object implements ExtensionPoint
Used to implement Run.getBuildStatusSummary().
Since:
1.575
  • Constructor Details

    • StatusSummarizer

      public StatusSummarizer()
  • Method Details

    • summarize

      @CheckForNull public abstract Run.Summary summarize(@NonNull Run<?,?> run, @NonNull ResultTrend trend)
      Possibly summarizes the reasons for a build’s status.
      Parameters:
      run - a completed build
      trend - the result of ResultTrend.getResultTrend(hudson.model.Run) on run (precomputed for efficiency)
      Returns:
      a summary, or null to fall back to other summarizers or built-in behavior