Enum ISVNWCDb.SVNWCDbKind
- java.lang.Object
-
- java.lang.Enum<ISVNWCDb.SVNWCDbKind>
-
- org.tmatesoft.svn.core.internal.wc17.db.ISVNWCDb.SVNWCDbKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ISVNWCDb.SVNWCDbKind>
- Enclosing interface:
- ISVNWCDb
public static enum ISVNWCDb.SVNWCDbKind extends java.lang.Enum<ISVNWCDb.SVNWCDbKind>
Enum indicating what kind of versioned object we're talking about.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SVNWCDbKind()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SVNNodeKind
toNodeKind()
SVNNodeKind
toNodeKind(ISVNWCDb.SVNWCDbStatus status, boolean showHidden)
static ISVNWCDb.SVNWCDbKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ISVNWCDb.SVNWCDbKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Dir
public static final ISVNWCDb.SVNWCDbKind Dir
The node is a directory.
-
File
public static final ISVNWCDb.SVNWCDbKind File
The node is a file.
-
Symlink
public static final ISVNWCDb.SVNWCDbKind Symlink
The node is a symbolic link.
-
Unknown
public static final ISVNWCDb.SVNWCDbKind Unknown
The type of the node is not known, due to its absence, exclusion, deletion, or incomplete status.
-
-
Method Detail
-
values
public static ISVNWCDb.SVNWCDbKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ISVNWCDb.SVNWCDbKind c : ISVNWCDb.SVNWCDbKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ISVNWCDb.SVNWCDbKind valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toNodeKind
public SVNNodeKind toNodeKind() throws SVNException
- Throws:
SVNException
-
toNodeKind
public SVNNodeKind toNodeKind(ISVNWCDb.SVNWCDbStatus status, boolean showHidden) throws SVNException
- Throws:
SVNException
-
-