org.kuali.common.util
Class AbstractProgressInformer

java.lang.Object
  extended by 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


Field Summary
protected  long progress
           
 
Constructor Summary
AbstractProgressInformer()
           
 
Method Summary
 String getCompleteToken()
           
 PrintStream getPrintStream()
           
 long getProgress()
          Thread safe method exposing the current progress
 String getProgressToken()
           
 LogMsg getStartMessage()
           
 String getStartToken()
           
 LogMsg getStopMessage()
           
 void setCompleteToken(String completeToken)
           
 void setPrintStream(PrintStream printStream)
           
 void setProgressToken(String progressToken)
           
 void setStartMessage(LogMsg startMessage)
           
 void setStartToken(String startToken)
           
 void setStopMessage(LogMsg stopMessage)
           
 void start()
          Print the start token
 void stop()
          Print the stop token
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

progress

protected long progress
Constructor Detail

AbstractProgressInformer

public AbstractProgressInformer()
Method Detail

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.