Package com.atlassian.confluence.util
Class SubProgressMeter
- java.lang.Object
-
- com.atlassian.core.util.ProgressMeter
-
- com.atlassian.confluence.util.SubProgressMeter
-
public class SubProgressMeter extends com.atlassian.core.util.ProgressMeter
Allow us to break a single ProgressMeter to several ProgressMeter. Help to to easier to report progress- Since:
- 5.10
-
-
Constructor Summary
Constructors Constructor Description SubProgressMeter(com.atlassian.core.util.ProgressMeter outerMeter, float percentageOfOuterMeter, int total)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setCompletedSuccessfully(boolean completedSuccessfully)
void
setPercentage(int percentageComplete)
void
setPercentage(int count, int total)
Use this method to set the completion %age to object 10 of 30 etc.void
setStatus(String status)
-
-
-
Method Detail
-
setPercentage
public void setPercentage(int count, int total)
Use this method to set the completion %age to object 10 of 30 etc.- Overrides:
setPercentage
in classcom.atlassian.core.util.ProgressMeter
- Parameters:
count
- The current object count in progresstotal
- The total number of objects to be processed
-
setStatus
public void setStatus(String status)
- Overrides:
setStatus
in classcom.atlassian.core.util.ProgressMeter
-
setPercentage
public void setPercentage(int percentageComplete)
- Overrides:
setPercentage
in classcom.atlassian.core.util.ProgressMeter
-
setCompletedSuccessfully
public void setCompletedSuccessfully(boolean completedSuccessfully)
- Overrides:
setCompletedSuccessfully
in classcom.atlassian.core.util.ProgressMeter
-
-