org.tigris.subversion.svnclientadapter
Class SVNDiffSummary

java.lang.Object
  extended by java.util.EventObject
      extended by org.tigris.subversion.svnclientadapter.SVNDiffSummary
All Implemented Interfaces:
java.io.Serializable

public class SVNDiffSummary
extends java.util.EventObject

The event passed to the DiffSummarizer.summarize(SVNDiffSummary) API in response to path differences reported by ISVNClientAdapter.diffSummarize(org.tigris.subversion.svnclientadapter.SVNUrl, org.tigris.subversion.svnclientadapter.SVNRevision, org.tigris.subversion.svnclientadapter.SVNUrl, org.tigris.subversion.svnclientadapter.SVNRevision, int, boolean).

See Also:
Serialized Form

Nested Class Summary
static class SVNDiffSummary.SVNDiffKind
          The type of difference being summarized.
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SVNDiffSummary(java.lang.String path, SVNDiffSummary.SVNDiffKind diffKind, boolean propsChanged, int nodeKind)
          This constructor is to be used by the native code.
 
Method Summary
 SVNDiffSummary.SVNDiffKind getDiffKind()
           
 int getNodeKind()
           
 java.lang.String getPath()
           
 boolean propsChanged()
           
 java.lang.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
 

Constructor Detail

SVNDiffSummary

public SVNDiffSummary(java.lang.String path,
                      SVNDiffSummary.SVNDiffKind 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 the SVNNodeKind enumeration).
Method Detail

getPath

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

getDiffKind

public SVNDiffSummary.SVNDiffKind 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 class java.util.EventObject
Returns:
The path.