|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.warnings.util.BuildResult
hudson.plugins.warnings.util.AnnotationsBuildResult
hudson.plugins.warnings.WarningsResult
public class WarningsResult
Represents the results of the warning analysis. One instance of this class is persisted for each build via an XML file.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.warnings.util.BuildResult |
|---|
XSTREAM |
| Constructor Summary | |
|---|---|
WarningsResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result)
Creates a new instance of WarningsResult. |
|
WarningsResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
WarningsResult previous)
Creates a new instance of WarningsResult. |
|
| 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 hudson.plugins.warnings.util.AnnotationsBuildResult |
|---|
doStatistics, getContainer, getDelta, getDynamic, getFixedWarnings, getModules, getNewWarnings, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getPriorities, getProject, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasError |
| Methods inherited from class hudson.plugins.warnings.util.BuildResult |
|---|
getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getDataFile, getNumberOfAnnotations, getOwner, hasAnnotations, hasAnnotations, hasAnnotations, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, isCurrent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WarningsResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result)
WarningsResult.
build - the current build as owner of this actionresult - the parsed result with all annotations
public WarningsResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
WarningsResult previous)
WarningsResult.
build - the current build as owner of this actionresult - the parsed result with all annotationsprevious - the result of the previous build| Method Detail |
|---|
public java.lang.String getSummary()
public java.lang.String getDetails()
protected java.lang.String getSerializationFileName()
getSerializationFileName in class BuildResultpublic java.lang.String getDisplayName()
public JavaProject getPreviousResult()
getPreviousResult in class AnnotationsBuildResultnull if no
such build existspublic boolean hasPreviousResult()
hasPreviousResult in class AnnotationsBuildResulttrue if a previous build result exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||