public static enum LockService.Operation extends Enum<LockService.Operation>
| Enum Constant and Description |
|---|
ATTACH |
DESTROY |
DETACH |
LEVEL |
LOCK |
UNLOCK |
| Modifier and Type | Method and Description |
|---|---|
Action |
getAction(String agentName) |
String |
toString() |
static LockService.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockService.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockService.Operation LOCK
public static final LockService.Operation UNLOCK
public static final LockService.Operation ATTACH
public static final LockService.Operation DETACH
public static final LockService.Operation DESTROY
public static final LockService.Operation LEVEL
public static LockService.Operation[] values()
for (LockService.Operation c : LockService.Operation.values()) System.out.println(c);
public static LockService.Operation 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 String toString()
toString in class Enum<LockService.Operation>Copyright © 2023 LSST. All rights reserved.