public static enum SCMFile.Type extends Enum<SCMFile.Type>
SCMFile
.Enum Constant and Description |
---|
DIRECTORY
The
SCMFile is a regular directory. |
LINK
The
SCMFile is a link. |
NONEXISTENT
The
SCMFile does not exist. |
OTHER
The
SCMFile is something else, but it exists |
REGULAR_FILE
The
SCMFile is a regular file. |
Modifier and Type | Method and Description |
---|---|
static SCMFile.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SCMFile.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SCMFile.Type NONEXISTENT
SCMFile
does not exist.public static final SCMFile.Type REGULAR_FILE
SCMFile
is a regular file.public static final SCMFile.Type DIRECTORY
SCMFile
is a regular directory.public static final SCMFile.Type LINK
SCMFile
is a link.public static final SCMFile.Type OTHER
SCMFile
is something else, but it existspublic static SCMFile.Type[] values()
for (SCMFile.Type c : SCMFile.Type.values()) System.out.println(c);
public static SCMFile.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016–2022. All rights reserved.