edu.umd.cs.findbugs.gui
public class AnalysisRun extends Object
Constructor Summary | |
---|---|
AnalysisRun(Project project, FindBugsFrame frame)
Creates a new instance of AnalysisRun. |
Method Summary | |
---|---|
void | execute(FindBugsProgress progressCallback)
Run the analysis.
|
Collection<BugInstance> | getBugInstances()
Return the collection of BugInstances. |
FindBugsFrame | getFrame()
Get the FindBugsFrame which created this analysis run.
|
String | getSummary() |
DefaultTreeModel | getTreeModel(String groupByOrder)
Get the tree model to be used in the BugTree.
|
void | loadBugsFromFile(File file)
Load bugs from a file. |
void | loadBugsFromInputStream(InputStream in)
Load bugs from an InputStream.
|
void | reportAnalysisErrors()
Report any errors that may have occurred during analysis. |
void | saveBugsToFile(File file)
Save bugs to a file. |
void | setTreeModel(String groupByOrder, DefaultTreeModel treeModel)
Set the tree model to be used in the BugTree.
|
Parameters: progressCallback the progress callback
Throws: IOException if an I/O error occurs during the analysis InterruptedException if the analysis thread is interrupted
Returns: the FindBugsFrame
Parameters: groupByOrder the grouping order that the tree model conforms to
Returns: the tree model
Parameters: in the InputStream
Throws: IOException DocumentException
Parameters: groupByOrder the grouping order that the tree model will conform to treeModel the tree model