com.atlassian.confluence.importexport.impl
Class DecoratedProgressMeter

java.lang.Object
  extended by com.atlassian.confluence.importexport.impl.DecoratedProgressMeter
All Implemented Interfaces:
com.atlassian.hibernate.extras.ExportProgress

public class DecoratedProgressMeter
extends java.lang.Object
implements com.atlassian.hibernate.extras.ExportProgress

Wraps a ProgressMeter to allow convenient incrementing of the current and total counts.


Constructor Summary
DecoratedProgressMeter(com.atlassian.core.util.ProgressMeter progressMeter)
           
 
Method Summary
 int increment()
           
 void incrementTotal()
           
 void setStatus(java.lang.String status)
           
 void setTotal(int total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecoratedProgressMeter

public DecoratedProgressMeter(com.atlassian.core.util.ProgressMeter progressMeter)
Method Detail

setStatus

public void setStatus(java.lang.String status)
Specified by:
setStatus in interface com.atlassian.hibernate.extras.ExportProgress

increment

public int increment()
Specified by:
increment in interface com.atlassian.hibernate.extras.ExportProgress

setTotal

public void setTotal(int total)
Specified by:
setTotal in interface com.atlassian.hibernate.extras.ExportProgress

incrementTotal

public void incrementTotal()
Specified by:
incrementTotal in interface com.atlassian.hibernate.extras.ExportProgress


Copyright © 2003-2014 Atlassian. All Rights Reserved.