Package org.tigris.subversion.javahl
Class NodeKind
- java.lang.Object
-
- org.tigris.subversion.javahl.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
private static java.lang.String[]
statusNames
mapping for the constants to textstatic 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
-
-
-
Field Detail
-
none
public static final int none
- See Also:
- Constant Field Values
-
file
public static final int file
- See Also:
- Constant Field Values
-
dir
public static final int dir
- See Also:
- Constant Field Values
-
unknown
public static final int unknown
- See Also:
- Constant Field Values
-
statusNames
private static final java.lang.String[] statusNames
mapping for the constants to text
-
-
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)
-
-