com.atlassian.core.util
Class ProgressMeter
java.lang.Object
com.atlassian.core.util.ProgressMeter
- public class ProgressMeter
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressMeter
public ProgressMeter()
setPercentage
public void setPercentage(int count,
int total)
- Use this method to set the completion %age to object 10 of 30 etc.
- Parameters:
count - The current object count in progresstotal - The total number of objects to be processed
setStatus
public void setStatus(java.lang.String status)
getPercentageComplete
public int getPercentageComplete()
getStatus
public java.lang.String getStatus()
setPercentage
public void setPercentage(int percentageComplete)
getCurrentCount
public int getCurrentCount()
setCurrentCount
public void setCurrentCount(int currentCount)
getTotal
public int getTotal()
setTotalObjects
public void setTotalObjects(int total)
isCompletedSuccessfully
public boolean isCompletedSuccessfully()
setCompletedSuccessfully
public void setCompletedSuccessfully(boolean completedSuccessfully)
Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.