org.tigris.subversion.svnclientadapter
Class SVNDiffSummary.SVNDiffKind

java.lang.Object
  extended by org.tigris.subversion.svnclientadapter.SVNDiffSummary.SVNDiffKind
Enclosing class:
SVNDiffSummary

public static class SVNDiffSummary.SVNDiffKind
extends java.lang.Object

The type of difference being summarized.


Field Summary
static SVNDiffSummary.SVNDiffKind ADDED
           
static SVNDiffSummary.SVNDiffKind DELETED
           
static SVNDiffSummary.SVNDiffKind MODIFIED
           
static SVNDiffSummary.SVNDiffKind NORMAL
           
 
Method Summary
 boolean equals(java.lang.Object diffKind)
           
static SVNDiffSummary.SVNDiffKind getInstance(int diffKind)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NORMAL

public static SVNDiffSummary.SVNDiffKind NORMAL

ADDED

public static SVNDiffSummary.SVNDiffKind ADDED

MODIFIED

public static SVNDiffSummary.SVNDiffKind MODIFIED

DELETED

public static SVNDiffSummary.SVNDiffKind DELETED
Method Detail

getInstance

public static SVNDiffSummary.SVNDiffKind getInstance(int diffKind)
                                              throws java.lang.IllegalArgumentException
Returns:
The appropriate instance.
Throws:
java.lang.IllegalArgumentException - If the diff kind is not recognized.

equals

public boolean equals(java.lang.Object diffKind)
Overrides:
equals in class java.lang.Object
Parameters:
diffKind - A DiffKind for comparison.
Returns:
Whether both DiffKinds are of the same type.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
A textual representation of the type of diff.