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.SerializableThe event passed to theProgressListener.onProgress(ProgressEvent)API to informSVNClientInterfaceof command progress (in terms of bytes).- Since:
- 1.5
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private longprogressThe number of bytes already transferred.private static longserialVersionUIDprivate longtotalThe total number of bytes, or-1if 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 longgetProgress()longgetTotal()
-
-
-
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-1if 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-1if not known.
-
ProgressEvent
public ProgressEvent(ProgressEvent aEvent)
A backward-compat constructor.
-
-