Class NodeKind


  • public final class NodeKind
    extends java.lang.Object
    Poor mans enum for svn_node_kind_t
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int dir  
      static int file  
      static int none  
      static int unknown  
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeKind()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int fromApache​(NodeKind aKind)  
      static java.lang.String getNodeKindName​(int kind)
      Returns the textual representation for a NodeKind
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NodeKind

        public NodeKind()
    • Method Detail

      • getNodeKindName

        public static final java.lang.String getNodeKindName​(int kind)
        Returns the textual representation for a NodeKind
        Parameters:
        kind - kind of node
        Returns:
        english text
      • fromApache

        public static int fromApache​(NodeKind aKind)