org.apache.subversion.javahl
Class DiffSummary

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

public class DiffSummary
extends EventObject

The event passed to the DiffSummaryCallback.onSummary(org.apache.subversion.javahl.DiffSummary) API in response to path differences reported by ISVNClient.diffSummarize(java.lang.String, org.apache.subversion.javahl.types.Revision, java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection, boolean, org.apache.subversion.javahl.callback.DiffSummaryCallback).

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
 
Constructor Summary
DiffSummary(String path, DiffSummary.DiffKind diffKind, boolean propsChanged, NodeKind nodeKind)
          This constructor is to be used by the native code.
 
Method Summary
 DiffSummary.DiffKind getDiffKind()
           
 NodeKind 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
 

Constructor Detail

DiffSummary

public DiffSummary(String path,
                   DiffSummary.DiffKind diffKind,
                   boolean propsChanged,
                   NodeKind 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.
propsChanged - Whether any properties have changed.
nodeKind - The type of node which changed (corresponds to the NodeKind enumeration).
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 NodeKind 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.