Package com.atlassian.confluence.util
Class LogProgressMeterWrapper
- java.lang.Object
-
- com.atlassian.core.util.ProgressMeter
-
- com.atlassian.confluence.util.LogProgressMeterWrapper
-
public class LogProgressMeterWrapper extends com.atlassian.core.util.ProgressMeter
Will report progress to log- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description LogProgressMeterWrapper(com.atlassian.core.util.ProgressMeter progressMeter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentCount()
int
getPercentageComplete()
String
getStatus()
int
getTotal()
boolean
isCompletedSuccessfully()
void
setCompletedSuccessfully(boolean completedSuccessfully)
void
setCurrentCount(int currentCount)
void
setPercentage(int percentageComplete)
void
setPercentage(int count, int total)
void
setStatus(String status)
void
setTotalObjects(int total)
-
-
-
Method Detail
-
setPercentage
public void setPercentage(int count, int total)
- Overrides:
setPercentage
in classcom.atlassian.core.util.ProgressMeter
-
setStatus
public void setStatus(String status)
- Overrides:
setStatus
in classcom.atlassian.core.util.ProgressMeter
-
getPercentageComplete
public int getPercentageComplete()
- Overrides:
getPercentageComplete
in classcom.atlassian.core.util.ProgressMeter
-
getStatus
public String getStatus()
- Overrides:
getStatus
in classcom.atlassian.core.util.ProgressMeter
-
getCurrentCount
public int getCurrentCount()
- Overrides:
getCurrentCount
in classcom.atlassian.core.util.ProgressMeter
-
setCurrentCount
public void setCurrentCount(int currentCount)
- Overrides:
setCurrentCount
in classcom.atlassian.core.util.ProgressMeter
-
getTotal
public int getTotal()
- Overrides:
getTotal
in classcom.atlassian.core.util.ProgressMeter
-
setTotalObjects
public void setTotalObjects(int total)
- Overrides:
setTotalObjects
in classcom.atlassian.core.util.ProgressMeter
-
isCompletedSuccessfully
public boolean isCompletedSuccessfully()
- Overrides:
isCompletedSuccessfully
in classcom.atlassian.core.util.ProgressMeter
-
setCompletedSuccessfully
public void setCompletedSuccessfully(boolean completedSuccessfully)
- Overrides:
setCompletedSuccessfully
in classcom.atlassian.core.util.ProgressMeter
-
setPercentage
public void setPercentage(int percentageComplete)
- Overrides:
setPercentage
in classcom.atlassian.core.util.ProgressMeter
-
-