|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.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.pmd.util.BuildResult |
|---|
high, low, normal, XSTREAM |
| Constructor Summary | |
|---|---|
PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
ParserResult result)
Creates a new instance of PmdResult. |
|
PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
ParserResult result,
PmdResult previous)
Creates a new instance of PmdResult. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDetails()
Returns the detail messages for the summary.jelly file. |
java.lang.String |
getDisplayName()
|
JavaProject |
getPreviousResult()
Returns the results of the previous build. |
protected java.lang.String |
getSerializationFileName()
Returns the name of the file to store the serialized annotations. |
java.lang.String |
getSummary()
Returns a summary message for the summary.jelly file. |
boolean |
hasPreviousResult()
Returns whether a previous build result exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
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
public PmdResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
ParserResult result,
PmdResult previous)
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 annotationsprevious - the result of the previous build| Method Detail |
|---|
public java.lang.String getSummary()
public java.lang.String getDetails()
getDetails in class BuildResultprotected java.lang.String getSerializationFileName()
getSerializationFileName in class BuildResultpublic java.lang.String getDisplayName()
public JavaProject getPreviousResult()
getPreviousResult in class BuildResultnull if no
such build existspublic boolean hasPreviousResult()
hasPreviousResult in class BuildResulttrue if a previous build result exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||