|
||||||||||
| 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,
java.lang.String defaultEncoding,
ParserResult result)
Creates a new instance of WarningsResult. |
|
WarningsResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
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 |
|---|
getContainer, getDays, getDelta, getDynamic, getFixedWarnings, getHighScoreGap, getNewWarnings, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfNewWarnings, getPriorities, getProject, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, isNewZeroWarningsHighScore |
| Methods inherited from class hudson.plugins.warnings.util.BuildResult |
|---|
getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getDataFile, getDefaultEncoding, getErrors, getModules, getNumberOfAnnotations, getNumberOfModules, getOwner, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, isCurrent, readResolve |
| 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,
java.lang.String defaultEncoding,
ParserResult result)
WarningsResult.
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 WarningsResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
ParserResult result,
WarningsResult previous)
WarningsResult.
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 AnnotationsBuildResultprotected 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 | |||||||||