public enum SnapshotType extends java.lang.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(java.lang.String stringRep)
Creates a suitable
SnapshotType from the specified string
representation. |
java.lang.String |
getStringRep()
Gets the string representation of the snapshot type.
|
static SnapshotType |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getStringRep()
public static SnapshotType fromStringRep(java.lang.String stringRep)
SnapshotType
from the specified string
representation.stringRep
- The string representationnull
if an invalid string representation
has been specified"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"