Package hudson.ivy
Interface IvyAggregatedReport
- All Superinterfaces:
Action,ModelObject
Action to be associated with IvyModuleSetBuild,
which usually displays some aspect of the aggregated results
of the module builds (such as aggregated test result, aggregated
coverage report, etc.)
When a module build is completed, its governing IvyModuleSetBuild tries to create an instance of
IvyAggregatedReport from each kind of IvyReporterDescriptor
whose IvyReporters are used on module builds.
The obtained instance is then persisted with IvyModuleSetBuild.
- Since:
- 1.99
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AggregatableAction>Returns the implementation class ofAggregatableActionthat produces thisIvyAggregatedReport.getProjectAction(IvyModuleSet moduleSet) Equivalent ofBuildStep.getProjectAction(AbstractProject)forIvyAggregatedReport.voidCalled whenever a new module build is completed, to update the aggregated report.Methods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Method Details
-
update
Called whenever a new module build is completed, to update the aggregated report. When multiple builds complete simultaneously, Jenkins serializes the execution of this method, so this method needs not be concurrency-safe.- Parameters:
moduleBuilds- Same asIvyModuleSet.getModuleBuilds()but provided for convenience and efficiency.newBuild- Newly completed build.
-
getIndividualActionType
Class<? extends AggregatableAction> getIndividualActionType()Returns the implementation class ofAggregatableActionthat produces thisIvyAggregatedReport. Jenkins uses this method to determine whichAggregatableActionis aggregated to whichIvyAggregatedReport. -
getProjectAction
Equivalent ofBuildStep.getProjectAction(AbstractProject)forIvyAggregatedReport.
-