hudson.plugins.findbugs
Class FindBugsMavenResultAction
java.lang.Object
hudson.plugins.analysis.core.MavenResultAction<FindBugsResult>
hudson.plugins.findbugs.FindBugsMavenResultAction
- All Implemented Interfaces:
- hudson.maven.AggregatableAction, hudson.maven.MavenAggregatedReport, hudson.model.Action, hudson.model.ModelObject, hudson.plugins.analysis.core.ResultAction<FindBugsResult>, org.kohsuke.stapler.StaplerProxy
public class FindBugsMavenResultAction
- extends hudson.plugins.analysis.core.MavenResultAction<FindBugsResult>
A FindBugsResultAction for native Maven jobs. This action
additionally provides result aggregation for sub-modules and for the main
project.
- Author:
- Ulli Hafner
| Methods inherited from class hudson.plugins.analysis.core.MavenResultAction |
aggregate, getBuild, getBuildHealth, getDefaultEncoding, getDisplayName, getHealthDescriptor, getIconFileName, getLargeImageName, getLog, getOwner, getResult, getTarget, getTooltip, getToolTipProvider, getUrlName, hasLargeImage, isSuccessful, setResult, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindBugsMavenResultAction
public FindBugsMavenResultAction(hudson.maven.MavenModuleSetBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
String defaultEncoding)
- Creates a new instance of
FindBugsMavenResultAction. This instance
will have no result set in the beginning. The result will be set
successively after each of the modules are build.
- Parameters:
owner - the associated build of this actionhealthDescriptor - health descriptor to usedefaultEncoding - the default encoding to be used when reading and parsing files
FindBugsMavenResultAction
public FindBugsMavenResultAction(hudson.maven.MavenBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
String defaultEncoding,
FindBugsResult result)
- Creates a new instance of
FindBugsMavenResultAction.
- Parameters:
owner - the associated build of this actionhealthDescriptor - health descriptor to usedefaultEncoding - the default encoding to be used when reading and parsing filesresult - the result in this build
createAggregatedAction
public hudson.maven.MavenAggregatedReport createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
Map<hudson.maven.MavenModule,List<hudson.maven.MavenBuild>> moduleBuilds)
-
getProjectAction
public hudson.model.Action getProjectAction(hudson.maven.MavenModuleSet moduleSet)
-
getIndividualActionType
public Class<? extends hudson.plugins.analysis.core.MavenResultAction<FindBugsResult>> getIndividualActionType()
- Specified by:
getIndividualActionType in interface hudson.maven.MavenAggregatedReport- Specified by:
getIndividualActionType in class hudson.plugins.analysis.core.MavenResultAction<FindBugsResult>
createResult
protected FindBugsResult createResult(FindBugsResult existingResult,
FindBugsResult additionalResult)
- Specified by:
createResult in class hudson.plugins.analysis.core.MavenResultAction<FindBugsResult>
Copyright © 2004-2012 Hudson. All Rights Reserved.