|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.core.BuildResult
hudson.plugins.pmd.PmdResult
public class PmdResult
Represents the results of the PMD analysis. One instance of this class is persisted for each build via an XML file.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.analysis.core.BuildResult |
|---|
high, low, normal |
| Constructor Summary | |
|---|---|
|
PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result)
Creates a new instance of PmdResult. |
protected |
PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result,
java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<PmdResult>> actionType)
Creates a new instance of PmdResult. |
| Method Summary | |
|---|---|
protected void |
configure(com.thoughtworks.xstream.XStream xstream)
|
protected java.lang.String |
createDeltaMessage()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getHeader()
|
protected java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> |
getResultActionType()
|
protected java.lang.String |
getSerializationFileName()
|
java.lang.String |
getSummary()
|
| Methods inherited from class hudson.plugins.analysis.core.BuildResult |
|---|
canUseDeltaValues, createDefaultDeltaMessage, createDefaultSummary, createHistory, createUrl, evaluateStatus, evaluateStatus, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getApi, getContainer, getDataFile, getDays, getDefaultEncoding, getDelta, getDetails, getDynamic, getErrors, getFixedWarnings, getHighDelta, getHighScoreGap, getHistory, getLowDelta, getModules, getNewWarnings, getNormalDelta, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getNumberOfWarnings, getOwner, getPluginResult, getPreviousResult, getPriorities, getProject, getReason, getResultIcon, getSuccessfulHighScore, getSuccessfulHighScoreGap, getSuccessfulSinceBuild, getSuccessfulSinceDate, getThresholds, getWarningsDelta, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, hasPreviousResult, isCurrent, isNewSuccessfulHighScore, isNewZeroWarningsHighScore, isSuccessful, isSuccessfulTouched, readResolve, serializeAnnotations, setHighWarnings, setLowWarnings, setNormalWarnings, setResult, setWarnings, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result)
PmdResult.
build - the current build as owner of this actiondefaultEncoding - the default encoding to be used when reading and parsing filesresult - the parsed result with all annotations
protected PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result,
java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<PmdResult>> actionType)
PmdResult.
build - the current build as owner of this actiondefaultEncoding - the default encoding to be used when reading and parsing filesresult - the parsed result with all annotationsactionType - the type of the result action| Method Detail |
|---|
public java.lang.String getHeader()
getHeader in class hudson.plugins.analysis.core.BuildResultprotected void configure(com.thoughtworks.xstream.XStream xstream)
configure in class hudson.plugins.analysis.core.BuildResultpublic java.lang.String getSummary()
getSummary in class hudson.plugins.analysis.core.BuildResultprotected java.lang.String createDeltaMessage()
createDeltaMessage in class hudson.plugins.analysis.core.BuildResultprotected java.lang.String getSerializationFileName()
getSerializationFileName in class hudson.plugins.analysis.core.BuildResultpublic java.lang.String getDisplayName()
protected java.lang.Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> getResultActionType()
getResultActionType in class hudson.plugins.analysis.core.BuildResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||