|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.plugins.findbugs.FindBugsCounter
public class FindBugsCounter
Counts the number of bugs in a FindBugs analysis file.
| Constructor Summary | |
|---|---|
FindBugsCounter(hudson.model.Build<?,?> build)
Creates a new instance of FindBugsCounter. |
|
| Method Summary | |
|---|---|
JavaProject |
findBugs()
Scans all the FindBugs files in the specified directory and returns the result as a JavaProject. |
hudson.FilePath |
getWorkingDirectory()
Returns the working directory with the FindBugs results. |
protected Module |
parse(java.io.InputStream file)
Returns the parsed FindBugs analysis file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FindBugsCounter(hudson.model.Build<?,?> build)
FindBugsCounter.
build - the associated build| Method Detail |
|---|
protected Module parse(java.io.InputStream file)
throws java.io.IOException,
org.xml.sax.SAXException
file - the FindBugs analysis file
java.io.IOException - if the file could not be parsed
org.xml.sax.SAXException - if the file is not in valid XML formatpublic hudson.FilePath getWorkingDirectory()
public JavaProject findBugs()
throws java.io.IOException,
java.lang.InterruptedException,
org.xml.sax.SAXException
JavaProject.
java.io.IOException - if the files could not be read
java.lang.InterruptedException - if the operation has been canceled
org.xml.sax.SAXException - if the file is not in valid XML format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||