org.tigris.subversion.javahl
Class DiffSummary

java.lang.Object
  extended by java.util.EventObject
      extended by org.tigris.subversion.javahl.DiffSummary
All Implemented Interfaces:
Serializable

public class DiffSummary
extends 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:
Serialized Form

Nested Class Summary
static class DiffSummary.DiffKind
          The type of difference being summarized.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 DiffSummary.DiffKind getDiffKind()
           
 int getNodeKind()
           
 String getPath()
           
 boolean propsChanged()
           
 String toString()
           
 
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
 

Method Detail

getPath

public String getPath()
Returns:
The path we have a diff for.

getDiffKind

public DiffSummary.DiffKind 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 String toString()
Overrides:
toString in class EventObject
Returns:
The path.