public static enum IFileLock.LockStatus extends Enum<IFileLock.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 IFileLock.LockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IFileLock.LockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IFileLock.LockStatus LOCK_EXCLUSIVE
public static final IFileLock.LockStatus LOCK_DENIED
public static final IFileLock.LockStatus LOCK_SHARED
public static final IFileLock.LockStatus LOCK_RELEASED
public static IFileLock.LockStatus[] values()
for (IFileLock.LockStatus c : IFileLock.LockStatus.values()) System.out.println(c);
public static IFileLock.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 Tecgraf/PUC-Rio. All rights reserved.