public enum SnapshotType extends Enum<SnapshotType>
| Enum Constant and Description |
|---|
DAILY
Daily snapshots
|
FORCED
Forced snapshot
|
HOURLY
Hourly snapshots
|
NEVER
No snapshot
|
| Modifier and Type | Method and Description |
|---|---|
static SnapshotType |
fromStringRep(String stringRep)
Creates a suitable
SnapshotType from the specified string
representation. |
String |
getStringRep()
Gets the string representation of the snapshot type.
|
static SnapshotType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotType NEVER
public static final SnapshotType HOURLY
public static final SnapshotType DAILY
public static final SnapshotType FORCED
public static SnapshotType[] values()
for (SnapshotType c : SnapshotType.values()) System.out.println(c);
public static SnapshotType 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 getStringRep()
public static SnapshotType fromStringRep(String stringRep)
SnapshotType from the specified string
representation.stringRep - The string representationnull if an invalid string representation
has been specifiedCopyright © 2010 - 2020 Adobe. All Rights Reserved