Class SVNNodeKind


  • public class SVNNodeKind
    extends java.lang.Object
    Kind of a node (dir, file)
    • Field Detail

      • 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 Detail

      • 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​(java.lang.String nodeKind)
        Returns the SVNNodeKind corresponding to the given string or null
        Parameters:
        nodeKind -
        Returns:
        SVNNodeKind representing the string value
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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