Package 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
-
Constructor Summary
Constructors Constructor Description ProgressEvent(ProgressEvent aEvent)
A backward-compat constructor. -
Method Summary
Modifier and Type Method Description long
getProgress()
long
getTotal()
-
Constructor Details
-
ProgressEvent
A backward-compat constructor.
-
-
Method Details
-
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.
-