Package hudson.model
Class Run.StatusSummarizer
java.lang.Object
hudson.model.Run.StatusSummarizer
- All Implemented Interfaces:
ExtensionPoint
Used to implement
Run.getBuildStatusSummary()
.- Since:
- 1.575
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract Run.Summary
summarize
(Run<?, ?> run, ResultTrend trend) Possibly summarizes the reasons for a build’s status.
-
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 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
-