org.eclipse.hudson.legacy.maven.plugin.AggregatableAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-plugin Show documentation
Show all versions of maven-plugin Show documentation
This plug-in provides deep integration of Hudson and Maven. This functionality used to be part of the Hudson core.
Now it is a plug-in that is installed by default, but can be disabled.
The newest version!
/*******************************************************************************
*
* Copyright (c) 2004-2009 Oracle Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Kohsuke Kawaguchi
*
*
*******************************************************************************/
package org.eclipse.hudson.legacy.maven.plugin;
import hudson.model.Action;
import java.util.List;
import java.util.Map;
/**
* Indicates that this {@link Action} for {@link MavenBuild} contributes
* an "aggregated" action to {@link MavenBuild#getModuleSetBuild()
* its governing MavenModuleSetBuild}.
*
* @author Kohsuke Kawaguchi
* @since 1.99
* @see MavenReporter
*/
public interface AggregatableAction extends Action {
/**
* Creates {@link Action} to be contributed to {@link MavenModuleSetBuild}.
*
* @param build
* {@link MavenModuleSetBuild} for which the aggregated report is
* created.
* @param moduleBuilds
* The result of {@link MavenModuleSetBuild#getModuleBuilds()} provided
* for convenience and efficiency.
* @return
* null if the reporter provides no such action.
*/
MavenAggregatedReport createAggregatedAction(
MavenModuleSetBuild build, Map> moduleBuilds);
}