|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.core.AbstractResultAction<CheckStyleResult>
hudson.plugins.checkstyle.CheckStyleResultAction
hudson.plugins.checkstyle.MavenCheckStyleResultAction
public class MavenCheckStyleResultAction
A CheckStyleResultAction for native maven jobs. This action
additionally provides result aggregation for sub-modules and for the main
project.
| Constructor Summary | |
|---|---|
MavenCheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding)
Creates a new instance of MavenCheckStyleResultAction. |
|
MavenCheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
CheckStyleResult result)
Creates a new instance of MavenCheckStyleResultAction. |
|
| 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.checkstyle.CheckStyleResultAction |
|---|
getDescriptor, getDisplayName, getMultipleItemsTooltip, getSingleItemTooltip |
| Methods inherited from class hudson.plugins.analysis.core.AbstractResultAction |
|---|
addModule, createAggregatedResult, createResult, getBuild, getBuildHealth, getHealthDescriptor, getIconFileName, getOwner, getResult, getTarget, getTooltip, getToolTipProvider, getUrlName, isSuccessful, 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 MavenCheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding)
MavenCheckStyleResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to usedefaultEncoding - the default encoding to be used when reading and parsing files
public MavenCheckStyleResultAction(hudson.model.AbstractBuild<?,?> owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
java.lang.String defaultEncoding,
CheckStyleResult result)
MavenCheckStyleResultAction.
owner - the associated build of this actionhealthDescriptor - health descriptor to useresult - the result in this builddefaultEncoding - the default encoding to be used when reading and parsing files| 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 | |||||||||