Package hudson.model
Class Run.StatusSummarizer
- java.lang.Object
-
- hudson.model.Run.StatusSummarizer
-
- All Implemented Interfaces:
ExtensionPoint
public abstract static class Run.StatusSummarizer extends Object implements ExtensionPoint
Used to implementRun.getBuildStatusSummary()
.- Since:
- 1.575
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description StatusSummarizer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Run.Summary
summarize(Run<?,?> run, ResultTrend trend)
Possibly summarizes the reasons for a build’s status.
-
-
-
Method Detail
-
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 buildtrend
- the result ofResultTrend.getResultTrend(hudson.model.Run)
onrun
(precomputed for efficiency)- Returns:
- a summary, or null to fall back to other summarizers or built-in behavior
-
-