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