Class SVNNodeKind

java.lang.Object
org.tigris.subversion.svnclientadapter.SVNNodeKind

public class SVNNodeKind extends Object
Kind of a node (dir, file)
  • Field Details

    • NONE

      public static final SVNNodeKind NONE
      Node kind absent
    • FILE

      public static final SVNNodeKind FILE
      Node kind regular file
    • DIR

      public static final SVNNodeKind DIR
      Node kind Directory
    • UNKNOWN

      public static final SVNNodeKind UNKNOWN
      Node kind unknwon - something's here, but we don't know what
  • Method Details

    • toInt

      public int toInt()
      Returns:
      an integer value representation of the nodeKind
    • fromInt

      public static SVNNodeKind fromInt(int nodeKind)
      Returns the SVNNodeKind corresponding to the given int representation. (As returned by toInt() method)
      Parameters:
      nodeKind -
      Returns:
      SVNNodeKind representing the int value
    • fromString

      public static SVNNodeKind fromString(String nodeKind)
      Returns the SVNNodeKind corresponding to the given string or null
      Parameters:
      nodeKind -
      Returns:
      SVNNodeKind representing the string value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object