public static enum Snapshot.Status extends Enum<Snapshot.Status>
Enum Constant and Description |
---|
COMPLETED |
ERROR |
PENDING |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Snapshot.Status |
fromValue(String status) |
String |
toString() |
String |
value() |
static Snapshot.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.Status PENDING
public static final Snapshot.Status COMPLETED
public static final Snapshot.Status ERROR
public static final Snapshot.Status UNRECOGNIZED
public static Snapshot.Status[] values()
for (Snapshot.Status c : Snapshot.Status.values()) System.out.println(c);
public static Snapshot.Status 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 value()
public String toString()
toString
in class Enum<Snapshot.Status>
public static Snapshot.Status fromValue(String status)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.