org.tigris.subversion.javahl
Class ProgressEvent
java.lang.Object
org.tigris.subversion.javahl.ProgressEvent
- All Implemented Interfaces:
- Serializable
public class ProgressEvent
- extends Object
- implements Serializable
The event passed to the ProgressListener.onProgress(ProgressEvent)
API to inform SVNClientInterface
of command progress (in terms of bytes).
- Since:
- 1.5
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressEvent
public ProgressEvent(ProgressEvent aEvent)
- A backward-compat constructor.
getProgress
public long getProgress()
- Returns:
- The number of bytes already transferred.
getTotal
public long getTotal()
- Returns:
- The total number of bytes, or
-1
if not
known.