public interface ProgressListener
Modifier and Type | Method and Description |
---|---|
void |
progress(int pageNumber,
int percent,
String message)
This method is called by the preflight operation to notify listeners of progress.
|
void |
resultAdded(ResultRecord result)
This method is called by the preflight operation to notify listeners of a result added.
|
boolean |
shouldCancel()
This method is called by the preflight operation to allow cancellation of the operation.
|
void progress(int pageNumber, int percent, String message)
pageNumber
- The page number that is being checked.percent
- The percent value to completion (0-100).message
- A readable message that describes the current operation.boolean shouldCancel()
void resultAdded(ResultRecord result)
result
- The most recently generated result; in general this indicates some violation
of the profile being run.