public enum SnapshotStatus extends Enum<SnapshotStatus>
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static SnapshotStatus |
valueOf(int code) |
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 UNKNOWN
public static final SnapshotStatus SUCCESS
public static final SnapshotStatus FAIL
public static final SnapshotStatus EXPIRED
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 nullpublic static SnapshotStatus valueOf(int code)
public int getCode()
Copyright © 2022. All rights reserved.