br.com.objectos.git
public enum EntryMode extends Enum<EntryMode>
| Enum Constant and Description |
|---|
EXECUTABLE_FILE
The file mode of a regular file that is executable.
|
REGULAR_FILE
The file mode of a regular file.
|
TREE
The file mode of a tree object (a directory).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlob()
Returns
true if this mode denotes a blob object. |
boolean |
isTree()
Returns
true if this mode denotes a tree object. |
static EntryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryMode EXECUTABLE_FILE
public static final EntryMode REGULAR_FILE
public static final EntryMode TREE
public static EntryMode[] values()
for (EntryMode c : EntryMode.values()) System.out.println(c);
public static EntryMode 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 nullpublic final boolean isBlob()
true if this mode denotes a blob object.true if this mode denotes a blob objectpublic final boolean isTree()
true if this mode denotes a tree object.true if this mode denotes a tree objectCopyright © 2020–2022 Objectos Software LTDA. All rights reserved.