net.sourceforge.pmd
Interface PMD.ProgressMonitor

Enclosing class:
PMD

public static interface PMD.ProgressMonitor

A callback that would be implemented by IDEs keeping track of PMD's progress as it evaluates a set of files.

Author:
Brian Remedios

Method Summary
 boolean status(int total, int totalDone)
          A status update reporting on current progress.
 

Method Detail

status

boolean status(int total,
               int totalDone)
A status update reporting on current progress. Implementers will return true if it is to continue, false otherwise.

Parameters:
total - total number of files to be analyzed
totalDone - number of files, that have been done analyzing.
Returns:
true if the execution of PMD should continue, false if the execution should be cancelled/terminated.


Copyright © 2002-2015 InfoEther. All Rights Reserved.