com.atlassian.core.util
Class ProgressMeter

java.lang.Object
  extended bycom.atlassian.core.util.ProgressMeter

public class ProgressMeter
extends java.lang.Object


Constructor Summary
ProgressMeter()
           
 
Method Summary
 int getCurrentCount()
           
 int getPercentageComplete()
           
 java.lang.String getStatus()
           
 int getTotal()
           
 boolean isCompletedSuccessfully()
           
 void setCompletedSuccessfully(boolean completedSuccessfully)
           
 void setCurrentCount(int currentCount)
           
 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(java.lang.String status)
           
 void setTotalObjects(int total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProgressMeter

public ProgressMeter()
Method Detail

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 progress
total - 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.