Package hudson.maven
Interface MavenAggregatedReport
- All Superinterfaces:
Action,ModelObject
- All Known Implementing Classes:
MavenAggregatedArtifactRecord,SurefireAggregatedReport
Action to be associated with MavenModuleSetBuild,
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 MavenModuleSetBuild tries to create an instane of
MavenAggregatedReport from each kind of MavenReporterDescriptor
whose MavenReporters are used on module builds.
The obtained instance is then persisted with MavenModuleSetBuild.
- Since:
- 1.99
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends AggregatableAction>Returns the implementation class ofAggregatableActionthat produces thisMavenAggregatedReport.getProjectAction(MavenModuleSet moduleSet) Equivalent ofBuildStep.getProjectAction(AbstractProject)forMavenAggregatedReport.voidupdate(Map<MavenModule, List<MavenBuild>> moduleBuilds, MavenBuild newBuild) Called 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, Hudson serializes the execution of this method, so this method needs not be concurrency-safe.- Parameters:
moduleBuilds- Same asMavenModuleSetBuild.getModuleBuilds()but provided for convenience and efficiency.newBuild- Newly completed build.
-
getIndividualActionType
Class<? extends AggregatableAction> getIndividualActionType()Returns the implementation class ofAggregatableActionthat produces thisMavenAggregatedReport. Hudson uses this method to determine whichAggregatableActionis aggregated to whichMavenAggregatedReport. -
getProjectAction
Equivalent ofBuildStep.getProjectAction(AbstractProject)forMavenAggregatedReport.
-