public class LintMavenResultAction extends hudson.plugins.analysis.core.MavenResultAction<LintResult>
LintResultAction for native Maven jobs.
This action additionally provides result aggregation for sub-modules and for the main project.
| Constructor and Description |
|---|
LintMavenResultAction(hudson.maven.MavenBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
String defaultEncoding,
LintResult result)
Creates a new instance of
LintMavenResultAction. |
LintMavenResultAction(hudson.maven.MavenModuleSetBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
String defaultEncoding)
Creates a new instance of
LintMavenResultAction. |
| Modifier and Type | Method and Description |
|---|---|
hudson.maven.MavenAggregatedReport |
createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
Map<hudson.maven.MavenModule,List<hudson.maven.MavenBuild>> moduleBuilds) |
protected LintResult |
createResult(LintResult existingResult,
LintResult additionalResult) |
Class<? extends hudson.plugins.analysis.core.MavenResultAction<LintResult>> |
getIndividualActionType() |
hudson.model.Action |
getProjectAction(hudson.maven.MavenModuleSet moduleSet) |
aggregate, getBuild, getBuildHealth, getDefaultEncoding, getDisplayName, getHealthDescriptor, getIconFileName, getLargeImageName, getLog, getOwner, getResult, getSmallImageName, getTarget, getTooltip, getToolTipProvider, getUrlName, hasLargeImage, isSuccessful, setResult, updatepublic LintMavenResultAction(hudson.maven.MavenModuleSetBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
String defaultEncoding)
LintMavenResultAction.
This instance will have no result set in the beginning. The result will be set successively after each of the modules are build.
owner - The associated build of this action.healthDescriptor - HealthDescriptor to use.defaultEncoding - The default encoding to be used when reading and files.public LintMavenResultAction(hudson.maven.MavenBuild owner,
hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
String defaultEncoding,
LintResult result)
LintMavenResultAction.owner - The associated build of this action.healthDescriptor - HealthDescriptor to use.defaultEncoding - The default encoding to be used when reading and files.result - The result for this build.public hudson.maven.MavenAggregatedReport createAggregatedAction(hudson.maven.MavenModuleSetBuild build,
Map<hudson.maven.MavenModule,List<hudson.maven.MavenBuild>> moduleBuilds)
public hudson.model.Action getProjectAction(hudson.maven.MavenModuleSet moduleSet)
public Class<? extends hudson.plugins.analysis.core.MavenResultAction<LintResult>> getIndividualActionType()
getIndividualActionType in interface hudson.maven.MavenAggregatedReportgetIndividualActionType in class hudson.plugins.analysis.core.MavenResultAction<LintResult>protected LintResult createResult(LintResult existingResult, LintResult additionalResult)
createResult in class hudson.plugins.analysis.core.MavenResultAction<LintResult>Copyright © 2004-2013. All Rights Reserved.