org.apache.subversion.javahl
Class ProgressEvent
java.lang.Object
org.apache.subversion.javahl.ProgressEvent
- All Implemented Interfaces:
- Serializable
public class ProgressEvent
- extends Object
- implements Serializable
The event passed to the ProgressCallback.onProgress(org.apache.subversion.javahl.ProgressEvent)
API to inform
ISVNClient
of command progress (in terms of bytes).
- See Also:
- Serialized Form
Constructor Summary |
ProgressEvent(long progress,
long total)
This constructor is to be used by the native code. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressEvent
public ProgressEvent(long progress,
long total)
- This constructor is to be used by the native code.
- Parameters:
progress
- The number of bytes already transferred.total
- The total number of bytes, or -1
if
not known.
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.