|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuditListener
Classes wishing to be notified of checking events should implement this interface.
| Method Summary | |
|---|---|
void |
block(Block block)
Called once for each block of duplicate lines within a set. |
void |
endCheck(CheckSummary summary)
Called when checking has finished. |
void |
endSet(java.lang.String text)
Called to indicate the end of a set of blocks of duplicate lines. |
void |
fileProcessed(SourceFile sourceFile)
Called when a file has been loaded. |
void |
startCheck(Options options)
Called when checking begins. |
void |
startSet(int lineCount)
Called to indicate the start of a set of blocks of duplicate lines. |
| Method Detail |
|---|
void startCheck(Options options)
options - The options used when performing the checkvoid fileProcessed(SourceFile sourceFile)
sourceFile - The file that was just loadedvoid startSet(int lineCount)
lineCount - The number of lines the blocks have in commonvoid block(Block block)
block - the duplicated block.void endSet(java.lang.String text)
text - The textvoid endCheck(CheckSummary summary)
summary -
|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||