org.jenkinsci.plugins.android_lint
Class LintMavenResultAction

java.lang.Object
  extended by hudson.plugins.analysis.core.MavenResultAction<LintResult>
      extended by org.jenkinsci.plugins.android_lint.LintMavenResultAction
All Implemented Interfaces:
hudson.maven.AggregatableAction, hudson.maven.MavenAggregatedReport, hudson.model.Action, hudson.model.ModelObject, hudson.plugins.analysis.core.ResultAction<LintResult>, org.kohsuke.stapler.StaplerProxy

public class LintMavenResultAction
extends hudson.plugins.analysis.core.MavenResultAction<LintResult>

A LintResultAction for native Maven jobs.

This action additionally provides result aggregation for sub-modules and for the main project.


Constructor Summary
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.
 
Method Summary
 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)
           
 
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
 

Constructor Detail

LintMavenResultAction

public LintMavenResultAction(hudson.maven.MavenModuleSetBuild owner,
                             hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                             String defaultEncoding)
Creates a new instance of LintMavenResultAction.

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 action.
healthDescriptor - HealthDescriptor to use.
defaultEncoding - The default encoding to be used when reading and files.

LintMavenResultAction

public LintMavenResultAction(hudson.maven.MavenBuild owner,
                             hudson.plugins.analysis.core.HealthDescriptor healthDescriptor,
                             String defaultEncoding,
                             LintResult result)
Creates a new instance of LintMavenResultAction.

Parameters:
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.
Method Detail

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<LintResult>> getIndividualActionType()
Specified by:
getIndividualActionType in interface hudson.maven.MavenAggregatedReport
Specified by:
getIndividualActionType in class hudson.plugins.analysis.core.MavenResultAction<LintResult>

createResult

protected LintResult createResult(LintResult existingResult,
                                  LintResult additionalResult)
Specified by:
createResult in class hudson.plugins.analysis.core.MavenResultAction<LintResult>


Copyright © 2004-2013. All Rights Reserved.