public interface MavenAggregatedReport
extends hudson.model.Action
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.
AggregatableAction| Modifier and Type | Method and Description |
|---|---|
Class<? extends AggregatableAction> |
getIndividualActionType()
Returns the implementation class of
AggregatableAction that
produces this MavenAggregatedReport. |
hudson.model.Action |
getProjectAction(MavenModuleSet moduleSet)
Equivalent of
BuildStep.getProjectAction(AbstractProject)
for MavenAggregatedReport. |
void |
update(Map<MavenModule,List<MavenBuild>> moduleBuilds,
MavenBuild newBuild)
Called whenever a new module build is completed, to update the
aggregated report.
|
void update(Map<MavenModule,List<MavenBuild>> moduleBuilds, MavenBuild newBuild)
moduleBuilds - Same as MavenModuleSet.getModuleBuilds() but provided for convenience and efficiency.newBuild - Newly completed build.Class<? extends AggregatableAction> getIndividualActionType()
AggregatableAction that
produces this MavenAggregatedReport. Hudson uses this method
to determine which AggregatableAction is aggregated to
which MavenAggregatedReport.hudson.model.Action getProjectAction(MavenModuleSet moduleSet)
BuildStep.getProjectAction(AbstractProject)
for MavenAggregatedReport.Copyright © 2016–2017. All rights reserved.