Enum Class NodeKind

java.lang.Object
java.lang.Enum<NodeKind>
com.zfabrik.svnaccess.NodeKind
All Implemented Interfaces:
Serializable, Comparable<NodeKind>, Constable

public enum NodeKind extends Enum<NodeKind>
Describes the kind of a SvnDirEntry or SvnLogItem - so called a node. This can be one of
  • none: information about the node-kind does not exist
  • file: node is a file
  • dir: node is a directory
  • unknown node kind is unknown
The difference between none and unknown is that in the first case the information is not provided by the server while in the latter case the server provides nodeKind="unknown".
  • Enum Constant Details

    • none

      public static final NodeKind none
    • file

      public static final NodeKind file
    • dir

      public static final NodeKind dir
    • unknown

      public static final NodeKind unknown
  • Method Details

    • values

      public static NodeKind[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NodeKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null