public enum SnapshotStatus extends Enum<SnapshotStatus>
Enum Constant and Description |
---|
IN_PREVIEW |
LOCKED |
OK |
Modifier and Type | Method and Description |
---|---|
static SnapshotStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotStatus OK
public static final SnapshotStatus LOCKED
public static final SnapshotStatus IN_PREVIEW
public static SnapshotStatus[] values()
for (SnapshotStatus c : SnapshotStatus.values()) System.out.println(c);
public static SnapshotStatus 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.