public final class SVNNodeKind extends Object implements Comparable, Serializable
SVNDirEntry
,
Serialized FormModifier and Type | Field and Description |
---|---|
static SVNNodeKind |
DIR
Defines the directory node kind
|
static SVNNodeKind |
FILE
Defines the file node kind
|
static SVNNodeKind |
NONE
This node kind is used to say that a node is missing
|
static SVNNodeKind |
UNKNOWN
This node kind is used to say that the kind of a node is
actually unknown
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o)
Compares this object with another one.
|
int |
getID() |
static SVNNodeKind |
getNodeKindById(int id) |
static SVNNodeKind |
parseKind(String kind)
Parses the passed string and finds out the node kind.
|
String |
toString()
Represents the current SVNNodeKind object as a string.
|
public static final SVNNodeKind NONE
public static final SVNNodeKind FILE
public static final SVNNodeKind DIR
public static final SVNNodeKind UNKNOWN
public static SVNNodeKind getNodeKindById(int id)
public static SVNNodeKind parseKind(String kind)
parseKind("dir")
will return
DIR
.kind
- a node kind as a stringpublic String toString()
public int compareTo(Object o)
compareTo
in interface Comparable
o
- an object to compare witho
is either null,
or is not an instance of SVNNodeKind, or the id of
this object is smaller than the id of o
;
o
;
o
is the same constant
value as this one (has the same id)
public int getID()
Copyright © 2019. All rights reserved.