Class DecoratedProgressMeter
- java.lang.Object
-
- com.atlassian.confluence.importexport.impl.DecoratedProgressMeter
-
- All Implemented Interfaces:
ExportProgress
public class DecoratedProgressMeter extends Object implements ExportProgress
Wraps aProgressMeter
to 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 int
increment()
void
incrementTotal()
void
setStatus(String status)
void
setTotal(int total)
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
- Specified by:
setStatus
in interfaceExportProgress
-
increment
public int increment()
- Specified by:
increment
in interfaceExportProgress
-
setTotal
public void setTotal(int total)
- Specified by:
setTotal
in interfaceExportProgress
-
incrementTotal
public void incrementTotal()
- Specified by:
incrementTotal
in interfaceExportProgress
-
-