|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.checkstyle.util.BuildResult
hudson.plugins.checkstyle.util.AnnotationsBuildResult
hudson.plugins.checkstyle.CheckStyleResult
public class CheckStyleResult
Represents the results of the Checkstyle analysis. One instance of this class is persisted for each build via an XML file.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.checkstyle.util.BuildResult |
|---|
XSTREAM |
| Constructor Summary | |
|---|---|
CheckStyleResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result)
Creates a new instance of CheckStyleResult. |
|
CheckStyleResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
CheckStyleResult previous)
Creates a new instance of CheckStyleResult. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDetails()
Returns the detail messages for the summary.jelly file. |
java.lang.String |
getDisplayName()
|
protected 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. |
protected boolean |
hasPreviousResult()
Returns whether a previous build result exists. |
| Methods inherited from class hudson.plugins.checkstyle.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.checkstyle.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 CheckStyleResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result)
CheckStyleResult.
build - the current build as owner of this actionresult - the parsed result with all annotations
public CheckStyleResult(hudson.model.AbstractBuild<?,?> build,
ParserResult result,
CheckStyleResult previous)
CheckStyleResult.
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()
protected JavaProject getPreviousResult()
getPreviousResult in class AnnotationsBuildResultnull if no
such build existsprotected 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 | |||||||||