org.kuali.common.util
Class AbstractProgressInformer
java.lang.Object
org.kuali.common.util.AbstractProgressInformer
- Direct Known Subclasses:
- PercentCompleteInformer, ProgressInformer
public abstract class AbstractProgressInformer
- extends Object
Print a dot to the console each time we make progress
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
progress
protected long progress
AbstractProgressInformer
public AbstractProgressInformer()
getProgress
public long getProgress()
- Thread safe method exposing the current progress
start
public void start()
- Print the start token
stop
public void stop()
- Print the stop token
getPrintStream
public PrintStream getPrintStream()
setPrintStream
public void setPrintStream(PrintStream printStream)
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)
getStartMessage
public LogMsg getStartMessage()
setStartMessage
public void setStartMessage(LogMsg startMessage)
getStopMessage
public LogMsg getStopMessage()
setStopMessage
public void setStopMessage(LogMsg stopMessage)
Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.