Package org.tigris.subversion.javahl
Class ProgressEvent
- java.lang.Object
-
- org.tigris.subversion.javahl.ProgressEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ProgressEvent extends java.lang.Object implements java.io.Serializable
The event passed to theProgressListener.onProgress(ProgressEvent)
API to informSVNClientInterface
of command progress (in terms of bytes).- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
progress
The number of bytes already transferred.private static long
serialVersionUID
private long
total
The total number of bytes, or-1
if not known.
-
Constructor Summary
Constructors Constructor Description ProgressEvent(long progress, long total)
This constructor is to be used by the native code.ProgressEvent(ProgressEvent aEvent)
A backward-compat constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getProgress()
long
getTotal()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
progress
private long progress
The number of bytes already transferred.
-
total
private long total
The total number of bytes, or-1
if not known.
-
-
Constructor Detail
-
ProgressEvent
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.
-
ProgressEvent
public ProgressEvent(ProgressEvent aEvent)
A backward-compat constructor.
-
-