hudson.ivy
Interface IvyAggregatedReport

All Superinterfaces:
hudson.model.Action, hudson.model.ModelObject

public interface IvyAggregatedReport
extends hudson.model.Action

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 instane 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:
AggregatableAction

Method Summary
 java.lang.Class<? extends AggregatableAction> getIndividualActionType()
          Returns the implementation class of AggregatableAction that produces this IvyAggregatedReport.
 hudson.model.Action getProjectAction(IvyModuleSet moduleSet)
          Equivalent of BuildStep.getProjectAction(AbstractProject) for IvyAggregatedReport.
 void update(java.util.Map<IvyModule,java.util.List<IvyBuild>> moduleBuilds, IvyBuild 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 Detail

update

void update(java.util.Map<IvyModule,java.util.List<IvyBuild>> moduleBuilds,
            IvyBuild newBuild)
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 as IvyModuleSet.getModuleBuilds() but provided for convenience and efficiency.
newBuild - Newly completed build.

getIndividualActionType

java.lang.Class<? extends AggregatableAction> getIndividualActionType()
Returns the implementation class of AggregatableAction that produces this IvyAggregatedReport. Hudson uses this method to determine which AggregatableAction is aggregated to which IvyAggregatedReport.


getProjectAction

hudson.model.Action getProjectAction(IvyModuleSet moduleSet)
Equivalent of BuildStep.getProjectAction(AbstractProject) for IvyAggregatedReport.



Copyright © 2010. All Rights Reserved.