|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.AbstractResultAction<PmdResult>
hudson.plugins.pmd.PmdResultAction
hudson.plugins.pmd.MavenPmdResultAction
public class MavenPmdResultAction
A PmdResultAction for native maven jobs. This action
additionally provides result aggregation for sub-modules and for the main
project.
| Constructor Summary | |
|---|---|
MavenPmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding)
Creates a new instance of MavenPmdResultAction. |
|
MavenPmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
PmdResult result)
Creates a new instance of MavenPmdResultAction. |
|
| Method Summary | |
|---|---|
hudson.maven.MavenAggregatedReport |
createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds)
|
java.lang.Class<? extends hudson.maven.AggregatableAction> |
getIndividualActionType()
|
hudson.model.Action |
getProjectAction(hudson.maven.MavenModuleSet moduleSet)
|
void |
update(java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds,
hudson.maven.MavenBuild newBuild)
Called whenever a new module build is completed, to update the aggregated report. |
| Methods inherited from class hudson.plugins.pmd.PmdResultAction |
|---|
getDescriptor, getDisplayName, getMultipleItemsTooltip, getPreviousResultAction, getSingleItemTooltip |
| Methods inherited from class hudson.plugins.pmd.util.AbstractResultAction |
|---|
addModule, createAggregatedResult, createResult, getBuild, getBuildHealth, getHealthDescriptor, getIconFileName, getOwner, getPreviousBuild, getResult, getTarget, getTooltip, getToolTipProvider, getUrlName, hasPreviousResultAction, setResult, updateBuildHealth |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.Action |
|---|
getDisplayName, getIconFileName, getUrlName |
| Constructor Detail |
|---|
public MavenPmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding)
MavenPmdResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to usedefaultEncoding - the default encoding to be used when reading and parsing files
public MavenPmdResultAction(hudson.model.AbstractBuild<?,?> owner,
HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
PmdResult result)
MavenPmdResultAction.
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| Method Detail |
|---|
public hudson.maven.MavenAggregatedReport createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds)
createAggregatedAction in interface hudson.maven.AggregatableActionpublic hudson.model.Action getProjectAction(hudson.maven.MavenModuleSet moduleSet)
getProjectAction in interface hudson.maven.MavenAggregatedReportpublic java.lang.Class<? extends hudson.maven.AggregatableAction> getIndividualActionType()
getIndividualActionType in interface hudson.maven.MavenAggregatedReport
public void update(java.util.Map<hudson.maven.MavenModule,java.util.List<hudson.maven.MavenBuild>> moduleBuilds,
hudson.maven.MavenBuild newBuild)
update in interface hudson.maven.MavenAggregatedReportmoduleBuilds - Same as MavenModuleSet.getModuleBuilds() but provided
for convenience and efficiency.newBuild - Newly completed build.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||