Class SVNNodeKind
java.lang.Object
org.tigris.subversion.svnclientadapter.SVNNodeKind
Kind of a node (dir, file)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SVNNodeKind
Node kind Directorystatic final SVNNodeKind
Node kind regular filestatic final SVNNodeKind
Node kind absentstatic final SVNNodeKind
Node kind unknwon - something's here, but we don't know what -
Method Summary
Modifier and TypeMethodDescriptionboolean
static SVNNodeKind
fromInt
(int nodeKind) Returns the SVNNodeKind corresponding to the given int representation.static SVNNodeKind
fromString
(String nodeKind) Returns the SVNNodeKind corresponding to the given string or nullint
hashCode()
int
toInt()
toString()
-
Field Details
-
NONE
Node kind absent -
FILE
Node kind regular file -
DIR
Node kind Directory -
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
Returns the SVNNodeKind corresponding to the given int representation. (As returned bytoInt()
method)- Parameters:
nodeKind
-- Returns:
- SVNNodeKind representing the int value
-
fromString
Returns the SVNNodeKind corresponding to the given string or null- Parameters:
nodeKind
-- Returns:
- SVNNodeKind representing the string value
-
toString
-
equals
-
hashCode
public int hashCode()
-