edu.umd.cs.findbugs.gui
Class RunAnalysisDialog.RunAnalysisProgress

java.lang.Object
  extended by edu.umd.cs.findbugs.gui.RunAnalysisDialog.RunAnalysisProgress
All Implemented Interfaces:
FindBugsProgress
Enclosing class:
RunAnalysisDialog

private class RunAnalysisDialog.RunAnalysisProgress
extends java.lang.Object
implements FindBugsProgress


Field Summary
private  int count
           
private  int goal
           
 
Constructor Summary
private RunAnalysisDialog.RunAnalysisProgress()
           
 
Method Summary
private  void beginStage(java.lang.String stageName, int goal)
           
 void finishArchive()
          Report that FindBugs has finished scanning an archive in order to add its classes to the repository.
 void finishClass()
          Report that FindBugs has finished analyzing a class.
 void finishPerClassAnalysis()
          Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.
private  int getCount()
           
private  int getGoal()
           
 void reportNumberOfArchives(int numArchives)
          Report the total number of archives (Jar or zip files) that will be analyzed.
 void startAnalysis(int numClasses)
          Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.
private  void step()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

goal

private int goal

count

private int count
Constructor Detail

RunAnalysisDialog.RunAnalysisProgress

private RunAnalysisDialog.RunAnalysisProgress()
Method Detail

getGoal

private int getGoal()

getCount

private int getCount()

reportNumberOfArchives

public void reportNumberOfArchives(int numArchives)
Description copied from interface: FindBugsProgress
Report the total number of archives (Jar or zip files) that will be analyzed.

Specified by:
reportNumberOfArchives in interface FindBugsProgress
Parameters:
numArchives - the number of archives

finishArchive

public void finishArchive()
Description copied from interface: FindBugsProgress
Report that FindBugs has finished scanning an archive in order to add its classes to the repository.

Specified by:
finishArchive in interface FindBugsProgress

startAnalysis

public void startAnalysis(int numClasses)
Description copied from interface: FindBugsProgress
Report that FindBugs has finished scanning the archives and will start analysing the classes contained therein.

Specified by:
startAnalysis in interface FindBugsProgress
Parameters:
numClasses - number of classes found in all of the archives

finishClass

public void finishClass()
Description copied from interface: FindBugsProgress
Report that FindBugs has finished analyzing a class.

Specified by:
finishClass in interface FindBugsProgress

finishPerClassAnalysis

public void finishPerClassAnalysis()
Description copied from interface: FindBugsProgress
Called to indicate that the per-class analysis is finished, and that the whole program analysis is taking place.

Specified by:
finishPerClassAnalysis in interface FindBugsProgress

beginStage

private void beginStage(java.lang.String stageName,
                        int goal)

step

private void step()