|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.findbugs.FindBugsResult
public class FindBugsResult
Represents the results of the FindBugs analysis. One instance of this class is persisted for each build via an XML file.
| Constructor Summary | |
|---|---|
FindBugsResult(hudson.model.Build<?,?> build,
JavaProject project)
Creates a new instance of FindBugsResult. |
|
| Method Summary | |
|---|---|
int |
getDelta()
Returns the delta. |
java.lang.String |
getDisplayName()
|
FindBugsDetail |
getDynamic(java.lang.String packageName,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Returns the dynamic result of the FindBugs analysis (detail page for a package). |
int |
getNumberOfWarnings()
Returns the numberOfWarnings. |
hudson.model.Build<?,?> |
getOwner()
Returns the owner. |
int |
getPreviousNumberOfWarnings(java.lang.String packageName)
Returns the number of warnings of the specified package in the previous build. |
JavaProject |
getProject()
Returns the associated project of this result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindBugsResult(hudson.model.Build<?,?> build,
JavaProject project)
FindBugsResult.
build - the current build as owner of this actionproject - the parsed FindBugs result| Method Detail |
|---|
public java.lang.String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectpublic hudson.model.Build<?,?> getOwner()
public int getNumberOfWarnings()
public int getDelta()
public JavaProject getProject()
public FindBugsDetail getDynamic(java.lang.String packageName,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
packageName - the packe name to get the result forrequest - Stapler requestresponse - Stapler response
public int getPreviousNumberOfWarnings(java.lang.String packageName)
packageName - the package to return the warnings for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||