|
|||||||||
| 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.analysis.collector.AnalysisResult
public class AnalysisResult
Stores the results of the analysis plug-ins. 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 | |
|---|---|
AnalysisResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result)
Creates a new instance of AnalysisResult. |
|
AnalysisResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result,
AnalysisResult previous)
Creates a new instance of AnalysisResult. |
|
| Method Summary | |
|---|---|
protected void |
configure(com.thoughtworks.xstream.XStream xstream)
|
java.lang.String |
getDetails()
|
java.lang.String |
getDisplayName()
|
int |
getNumberOfAnnotationsByOrigin(java.lang.String origin)
Returns the number of annotations from the specified origin. |
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()
Returns a summary message for the summary.jelly file. |
| Methods inherited from class hudson.plugins.analysis.core.BuildResult |
|---|
getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getApi, getContainer, getDataFile, getDays, getDefaultEncoding, getDelta, getDynamic, getErrors, getFixedWarnings, getHighScoreGap, getModules, getNewWarnings, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getNumberOfWarnings, getOwner, getPreviousResult, getPriorities, getProject, getWarningsDelta, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, hasPreviousResult, isCurrent, isNewZeroWarningsHighScore, readResolve, setHighWarnings, setLowWarnings, setNormalWarnings, setWarnings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnalysisResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result)
AnalysisResult.
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 AnalysisResult(hudson.model.AbstractBuild<?,?> build,
java.lang.String defaultEncoding,
hudson.plugins.analysis.core.ParserResult result,
AnalysisResult previous)
AnalysisResult.
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 |
|---|
protected void configure(com.thoughtworks.xstream.XStream xstream)
configure in class hudson.plugins.analysis.core.BuildResultpublic java.lang.String getSummary()
public java.lang.String getDetails()
getDetails 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.BuildResultpublic int getNumberOfAnnotationsByOrigin(java.lang.String origin)
origin - the origin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||