public enum RetentionType extends Enum<RetentionType>
RetentionType enumeration:
Represents type of retention
Enum Constant and Description |
---|
FOREVER
Forever: Retain all data forever
|
NEVER
Never: Do not retain data history
|
PERIOD
Period: Retain data history for a given period of time
|
Modifier and Type | Method and Description |
---|---|
static RetentionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetentionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetentionType FOREVER
public static final RetentionType NEVER
public static final RetentionType PERIOD
public static RetentionType[] values()
for (RetentionType c : RetentionType.values()) System.out.println(c);
public static RetentionType 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 nullCopyright © 2015. All Rights Reserved.