public class ProgressIndicator extends Object
| Constructor and Description |
|---|
ProgressIndicator(org.apache.maven.plugin.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFoundErrors(int errorsToAdd)
This method has a side effect of incrementing the number of resources containing errors.
|
int |
getTotalFoundErrors() |
void |
logSummary()
Logs the summary as it was collected at this point.
|
void |
onProcessingResource(Resource resource)
A method which should be invoked on each new resource processing, having as a side effect an increment of the
counter holding the number of total processed resources.
|
void |
reset()
resets all counters to zero.
|
public ProgressIndicator(org.apache.maven.plugin.logging.Log log)
public void reset()
public void logSummary()
public void onProcessingResource(Resource resource)
public void addFoundErrors(int errorsToAdd)
errorsToAdd - number of errors found during processing. This number will be added to the counter holding total number of
found errors.public final int getTotalFoundErrors()
Copyright © 2008-2014. All Rights Reserved.