|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IProgress
This interface is used to notify subscribers about the progress of analysis. It is designed to minimise the load on the individual analyzers and thus divides analysis into various elements some of which are notified by the framework and others require the assistance of individual analyzers. In general an analyzer should aim to
Method Summary | |
---|---|
void |
notifyAnalysisComplete(IAnalyzerBase analyzer,
IAnalyzerContext context,
java.lang.String type)
The given analyzer has completed analysis |
void |
notifyAnalysisPhase(IAnalyzerBase analyzer,
IAnalyzerContext context,
int phase,
int target)
Notify the start of an analysis phase. |
boolean |
notifyAnalysisProgress(IAnalyzerBase analyzer,
IAnalyzerContext context,
int progress,
int target)
Notify progress of a phase in the analysis. |
void |
notifyAnalysisStarting(IAnalyzerBase analyzer,
IAnalyzerContext context,
java.lang.String type)
The given analyzer is about to start analysis |
void |
notifyInitialization(java.lang.String name,
int progress,
int target)
Report progress on reading the input file and and initializing contexts etc. |
Method Detail |
---|
void notifyInitialization(java.lang.String name, int progress, int target)
name
- the file being processedprogress
- the progress made so fartarget
- the targetvoid notifyAnalysisStarting(IAnalyzerBase analyzer, IAnalyzerContext context, java.lang.String type)
analyzer
- the current analyzer which may be null during parsing of the input filecontext
- the current analysis context which may be null during parsing of the input filetype
- the analysis typevoid notifyAnalysisComplete(IAnalyzerBase analyzer, IAnalyzerContext context, java.lang.String type)
analyzer
- the current analyzer which may be null during parsing of the input filecontext
- the current analysis context which may be null during parsing of the input filetype
- the analysis typevoid notifyAnalysisPhase(IAnalyzerBase analyzer, IAnalyzerContext context, int phase, int target)
analyzer
- the current analyzer which may be null during parsing of the input filecontext
- the current analysis context which may be null during parsing of the input filephase
- the current analysis phase - this will be analyzer dependenttarget
- the target value or 0 if the target phase is not knownboolean notifyAnalysisProgress(IAnalyzerBase analyzer, IAnalyzerContext context, int progress, int target)
analyzer
- the current analyzer which may be null during parsing of the input filecontext
- the current analysis context which may be null during parsing of the input fileprogress
- the progress made so fartarget
- the target value or 0 if the target is not known
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |