|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectau.com.redhillconsulting.simian.DecoratorAuditListener
public class DecoratorAuditListener
Convenience base class for decorating audit listeners.
| Constructor Summary | |
|---|---|
DecoratorAuditListener(AuditListener listener)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DecoratorAuditListener(AuditListener listener)
| Method Detail |
|---|
public void startCheck(Options options)
AuditListener
startCheck in interface AuditListeneroptions - The options used when performing the checkpublic void fileProcessed(SourceFile sourceFile)
AuditListener
fileProcessed in interface AuditListenersourceFile - The file that was just loadedpublic void startSet(int lineCount)
AuditListener
startSet in interface AuditListenerlineCount - The number of lines the blocks have in commonpublic void block(Block block)
AuditListener
block in interface AuditListenerblock - the duplicated block.public void endSet(java.lang.String text)
AuditListener
endSet in interface AuditListenertext - The textpublic void endCheck(CheckSummary summary)
AuditListener
endCheck in interface AuditListener
|
Simian - Similarity Analyser v2.2.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||