org.apache.wiki.ui.progress
Class ProgressManager.JSONTracker
java.lang.Object
org.apache.wiki.ui.progress.ProgressManager.JSONTracker
- All Implemented Interfaces:
- RPCCallable
- Enclosing class:
- ProgressManager
public class ProgressManager.JSONTracker
- extends Object
- implements RPCCallable
Provides access to a progress indicator, assuming you know the ID.
Progress of zero (0) means that the progress has just started, and a progress of
100 means that it is complete.
Method Summary |
int |
getProgress(String progressId)
Returns upload progress in percents so far. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressManager.JSONTracker
public ProgressManager.JSONTracker()
getProgress
public int getProgress(String progressId)
- Returns upload progress in percents so far.
- Parameters:
progressId
- The string representation of the progress ID that you want to know the
progress of.
- Returns:
- a value between 0 to 100 indicating the progress
Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.