public static enum ClientFileLock.LockStatus extends Enum<ClientFileLock.LockStatus>
| Enum Constant and Description |
|---|
LOCK_DENIED
Não foi possível obter lock para o arquivo.
|
LOCK_EXCLUSIVE
Lock exclusivo
|
LOCK_RELEASED
Pedido do lock foi removido
|
LOCK_SHARED
Lock compartilhado
|
| Modifier and Type | Method and Description |
|---|---|
static ClientFileLock.LockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientFileLock.LockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientFileLock.LockStatus LOCK_EXCLUSIVE
public static final ClientFileLock.LockStatus LOCK_DENIED
public static final ClientFileLock.LockStatus LOCK_SHARED
public static final ClientFileLock.LockStatus LOCK_RELEASED
public static ClientFileLock.LockStatus[] values()
for (ClientFileLock.LockStatus c : ClientFileLock.LockStatus.values()) System.out.println(c);
public static ClientFileLock.LockStatus 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. All rights reserved.