Package org.tigris.subversion.javahl
Class DiffSummary
java.lang.Object
java.util.EventObject
org.tigris.subversion.javahl.DiffSummary
- All Implemented Interfaces:
java.io.Serializable
public class DiffSummary
extends java.util.EventObject
The event passed to the
DiffSummaryReceiver.onSummary(DiffSummary)
API in response to path
differences reported by SVNClientInterface.diffSummarize(java.lang.String, org.tigris.subversion.javahl.Revision, java.lang.String, org.tigris.subversion.javahl.Revision, int, java.lang.String[], boolean, org.tigris.subversion.javahl.DiffSummaryReceiver)
.- Since:
- 1.5
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The type of difference being summarized. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DiffSummary.DiffKind
private int
private boolean
private static final long
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionDiffSummary
(java.lang.String path, int diffKind, boolean propsChanged, int nodeKind) This constructor is to be used by the native code.DiffSummary
(DiffSummary aSummary) This constructor is for backward compat. -
Method Summary
Methods inherited from class java.util.EventObject
getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
diffKind
-
propsChanged
private boolean propsChanged -
nodeKind
private int nodeKind
-
-
Constructor Details
-
DiffSummary
DiffSummary(java.lang.String path, int diffKind, boolean propsChanged, int nodeKind) This constructor is to be used by the native code.- Parameters:
path
- The path we have a diff for.diffKind
- The kind of diff this describes.propChanged
- Whether any properties have changed.nodeKind
- The type of node which changed (corresponds to theNodeKind
enumeration).
-
DiffSummary
DiffSummary(DiffSummary aSummary) This constructor is for backward compat.
-
-
Method Details
-
getPath
public java.lang.String getPath()- Returns:
- The path we have a diff for.
-
getDiffKind
- Returns:
- The kind of summary this describes.
-
propsChanged
public boolean propsChanged()- Returns:
- Whether any properties have changed.
-
getNodeKind
public int getNodeKind()- Returns:
- The type of node which changed (corresponds to the
NodeKind
enumeration).
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.util.EventObject
- Returns:
- The path.
-