public static enum Drive.LockMode extends Enum<Drive.LockMode>
Enum Constant and Description |
---|
EXCLUSIVE
Create exclusive locks, when possible.
|
NONE
Do not lock files.
|
SHARED
Create shared locks, when possible.
|
Modifier and Type | Method and Description |
---|---|
static Drive.LockMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Drive.LockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Drive.LockMode NONE
public static final Drive.LockMode SHARED
public static final Drive.LockMode EXCLUSIVE
public static Drive.LockMode[] values()
for (Drive.LockMode c : Drive.LockMode.values()) System.out.println(c);
public static Drive.LockMode 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 null