org.kuali.common.util
Class PercentCompleteInformer
java.lang.Object
org.kuali.common.util.PercentCompleteInformer
public class PercentCompleteInformer
- extends Object
Print a dot to the console each time we make 1% progress towards the total count
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentCompleteInformer
public PercentCompleteInformer()
setTotal
public void setTotal(long total)
progressOccurred
public void progressOccurred()
enoughProgress
protected boolean enoughProgress(int percentComplete)
getOut
public PrintStream getOut()
setOut
public void setOut(PrintStream out)
getCount
public long getCount()
setCount
public void setCount(long count)
getPercentageIncrement
public int getPercentageIncrement()
setPercentageIncrement
public void setPercentageIncrement(int percentageIncrement)
getStartToken
public String getStartToken()
setStartToken
public void setStartToken(String startToken)
getCompleteToken
public String getCompleteToken()
setCompleteToken
public void setCompleteToken(String completeToken)
getProgressToken
public String getProgressToken()
setProgressToken
public void setProgressToken(String progressToken)
getTotal
public long getTotal()
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.