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