org.kuali.common.threads.listener
Class ProgressNotifier<T>
java.lang.Object
org.kuali.common.threads.listener.ProgressNotifier<T>
public class ProgressNotifier<T>
- extends Object
Keeps track of overall progress towards a goal.
Notifies its listener whenever progress has occurred.
Also notifies the listener when progress starts and completes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressNotifier
public ProgressNotifier()
getProgress
public int getProgress()
notify
public void notify(ProgressEvent<T> event)
getListener
public ProgressListener<T> getListener()
setListener
public void setListener(ProgressListener<T> listener)
getTotal
public int getTotal()
setTotal
public void setTotal(int total)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.