Class SVNDiffSummary.SVNDiffKind
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static SVNDiffSummary.SVNDiffKind
ADDED
static SVNDiffSummary.SVNDiffKind
DELETED
static SVNDiffSummary.SVNDiffKind
MODIFIED
static SVNDiffSummary.SVNDiffKind
NORMAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object diffKind)
static SVNDiffSummary.SVNDiffKind
getInstance(int diffKind)
int
hashCode()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
- Parameters:
diffKind
- A DiffKind for comparison.- Returns:
- Whether both DiffKinds are of the same type.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- Returns:
- A textual representation of the type of diff.
-
-