edu.umd.cs.findbugs.gui

Class RunAnalysisDialog

public class RunAnalysisDialog extends JDialog

A modal dialog to run the actual FindBugs analysis on a project. The analysis is done in a separate thread, so that the GUI can still stay current while the analysis is running. We provide support for reporting the progress of the analysis, and for asynchronously cancelling the analysis before it completes.

Author: David Hovemeyer

Constructor Summary
RunAnalysisDialog(Frame parent, AnalysisRun analysisRun_)
Creates new form RunAnalysisDialog
Method Summary
booleanexceptionOccurred()
Determine whether or not a fatal exception occurred during analysis.
ExceptiongetException()
Get the exception that abnormally terminated the analysis.
booleanisCompleted()
The creator of the dialog may call this method to find out whether or not the analysis completed normally.
voidsetCompleted(boolean completed)
voidsetException(Exception e)

Constructor Detail

RunAnalysisDialog

public RunAnalysisDialog(Frame parent, AnalysisRun analysisRun_)
Creates new form RunAnalysisDialog

Method Detail

exceptionOccurred

public boolean exceptionOccurred()
Determine whether or not a fatal exception occurred during analysis.

getException

public Exception getException()
Get the exception that abnormally terminated the analysis.

isCompleted

public boolean isCompleted()
The creator of the dialog may call this method to find out whether or not the analysis completed normally.

setCompleted

public void setCompleted(boolean completed)

setException

public void setException(Exception e)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.