ariba.util.core
Class ProgressMonitor
java.lang.Object
ariba.util.core.ProgressMonitor
public class ProgressMonitor
- extends java.lang.Object
This class stores the user-visible progress information for the current
thread so that it can be queried / reflected by a progress panel in the UI.
The state is updated by the active current thread and is registered in a global
Map keyed by SessionId so that progress polling (from another thread) can get the
latest state.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static ProgressMonitor instance()
register
public static void register(java.lang.String key)
getInstanceForKey
public static ProgressMonitor getInstanceForKey(java.lang.String key)
prepare
public void prepare(java.lang.String formatString,
int total)
generateMessage
public java.lang.String generateMessage()
incrementCurrentCount
public void incrementCurrentCount()
getMessageFormatString
public java.lang.String getMessageFormatString()
setMessageFormatString
public void setMessageFormatString(java.lang.String messageFormatString)
getCurrentCount
public int getCurrentCount()
setCurrentCount
public void setCurrentCount(int count)
getTotalCount
public int getTotalCount()
setTotalCount
public void setTotalCount(int total)
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.