hudson.plugins.pmd
Class PmdMavenResult

java.lang.Object
  extended by hudson.plugins.analysis.core.BuildResult
      extended by hudson.plugins.pmd.PmdResult
          extended by hudson.plugins.pmd.PmdMavenResult
All Implemented Interfaces:
hudson.model.ModelObject, hudson.plugins.analysis.util.model.AnnotationProvider, java.io.Serializable

public class PmdMavenResult
extends PmdResult

Represents the aggregated results of the PMD analysis in m2 jobs.

Author:
Ulli Hafner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hudson.plugins.analysis.core.BuildResult
high, low, normal
 
Constructor Summary
PmdMavenResult(hudson.model.AbstractBuild<?,?> build, java.lang.String defaultEncoding, hudson.plugins.analysis.core.ParserResult result)
          Creates a new instance of PmdMavenResult.
PmdMavenResult(hudson.model.AbstractBuild<?,?> build, java.lang.String defaultEncoding, hudson.plugins.analysis.core.ParserResult result, PmdResult previous)
          Creates a new instance of PmdMavenResult.
 
Method Summary
protected  java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> getResultActionType()
          Returns the actual type of the associated result action.
 
Methods inherited from class hudson.plugins.pmd.PmdResult
configure, getDetails, getDisplayName, getSerializationFileName, getSummary
 
Methods inherited from class hudson.plugins.analysis.core.BuildResult
getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getApi, getContainer, getDataFile, getDays, getDefaultEncoding, getDelta, getDynamic, getErrors, getFixedWarnings, getHighScoreGap, getModules, getNewWarnings, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getNumberOfWarnings, getOwner, getPreviousResult, getPriorities, getProject, getWarningsDelta, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, hasPreviousResult, isCurrent, isNewZeroWarningsHighScore, readResolve, setHighWarnings, setLowWarnings, setNormalWarnings, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmdMavenResult

public PmdMavenResult(hudson.model.AbstractBuild<?,?> build,
                      java.lang.String defaultEncoding,
                      hudson.plugins.analysis.core.ParserResult result)
Creates a new instance of PmdMavenResult.

Parameters:
build - the current build as owner of this action
defaultEncoding - the default encoding to be used when reading and parsing files
result - the parsed result with all annotations

PmdMavenResult

public PmdMavenResult(hudson.model.AbstractBuild<?,?> build,
                      java.lang.String defaultEncoding,
                      hudson.plugins.analysis.core.ParserResult result,
                      PmdResult previous)
Creates a new instance of PmdMavenResult.

Parameters:
build - the current build as owner of this action
defaultEncoding - the default encoding to be used when reading and parsing files
result - the parsed result with all annotations
previous - the result of the previous build
Method Detail

getResultActionType

protected java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> getResultActionType()
Returns the actual type of the associated result action.

Overrides:
getResultActionType in class PmdResult
Returns:
the actual type of the associated result action


Copyright © 2009. All Rights Reserved.