Class DecoratedProgressMeter
- java.lang.Object
-
- com.atlassian.confluence.importexport.impl.DecoratedProgressMeter
-
- All Implemented Interfaces:
ExportProgress
public class DecoratedProgressMeter extends Object implements ExportProgress
Wraps aProgressMeterto allow convenient incrementing of the current and total counts.
-
-
Constructor Summary
Constructors Constructor Description DecoratedProgressMeter(com.atlassian.core.util.ProgressMeter progressMeter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intincrement()voidincrementTotal()voidsetStatus(String status)voidsetTotal(int total)
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
- Specified by:
setStatusin interfaceExportProgress
-
increment
public int increment()
- Specified by:
incrementin interfaceExportProgress
-
setTotal
public void setTotal(int total)
- Specified by:
setTotalin interfaceExportProgress
-
incrementTotal
public void incrementTotal()
- Specified by:
incrementTotalin interfaceExportProgress
-
-