hudson.plugins.pmd
Class PmdMavenResultAction
java.lang.Object
hudson.plugins.analysis.core.MavenResultAction<PmdResult>
hudson.plugins.pmd.PmdMavenResultAction
- All Implemented Interfaces:
- hudson.maven.AggregatableAction, hudson.maven.MavenAggregatedReport, hudson.model.Action, hudson.model.ModelObject, hudson.plugins.analysis.core.ResultAction<PmdResult>, org.kohsuke.stapler.StaplerProxy
public class PmdMavenResultAction
- extends hudson.plugins.analysis.core.MavenResultAction<PmdResult>
A PmdResultAction 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, getSmallImageName, 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 |
PmdMavenResultAction
public PmdMavenResultAction(hudson.maven.MavenModuleSetBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding)
- Creates a new instance of
PmdMavenResultAction. 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
PmdMavenResultAction
public PmdMavenResultAction(hudson.maven.MavenBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
PmdResult result)
- Creates a new instance of
PmdMavenResultAction.
- 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,
java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds)
-
getProjectAction
public hudson.model.Action getProjectAction(hudson.maven.MavenModuleSet moduleSet)
-
getIndividualActionType
public java.lang.Class<? extends hudson.plugins.analysis.core.MavenResultAction<PmdResult>> getIndividualActionType()
- Specified by:
getIndividualActionType in interface hudson.maven.MavenAggregatedReport- Specified by:
getIndividualActionType in class hudson.plugins.analysis.core.MavenResultAction<PmdResult>
createResult
protected PmdResult createResult(PmdResult existingResult,
PmdResult additionalResult)
- Specified by:
createResult in class hudson.plugins.analysis.core.MavenResultAction<PmdResult>
Copyright © 2004-2012. All Rights Reserved.