wro4j-maven-plugin/src/main/java/ro/isdc/wro/maven/plugin/support/ProgressIndicator.java
public synchronized void onProcessingResource(final Resource resource) {
    totalResources++;
    log.debug("processing resource: " + resource.getUri());
    if (isLogRequired()) {
      log.info("Processed until now: " + getTotalResources() + ". Last processed: " + resource.getUri());
      updateLastInvocation();
    }
  }
public synchronized void onProcessingResource(final Resource resource) {
    totalResources++;
    log.debug("processing resource: " + resource.getUri());
    if (isLogRequired()) {
      log.info("Processed until now: " + getTotalResources() + ". Last processed: " + resource.getUri());
      updateLastInvocation();
    }
  }
public synchronized void onProcessingResource ( final Resource resource ) { totalResources ++ ; log . debug ( "processing resource: " + resource . getUri ( ) ) ; if ( isLogRequired ( ) ) { log . info ( "Processed until now: " + getTotalResources ( ) + ". Last processed: " + resource . getUri ( ) ) ; updateLastInvocation ( ) ; } }
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.
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 .