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 classThe type of difference being summarized. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DiffSummary.DiffKindprivate intprivate booleanprivate static final longFields 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
getSourceMethods 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 theNodeKindenumeration).
-
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
NodeKindenumeration).
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.util.EventObject- Returns:
- The path.
-