public enum RetentionMode extends Enum<RetentionMode>
| Enum Constant and Description |
|---|
COMPLIANCE |
GOVERNANCE |
| Modifier and Type | Method and Description |
|---|---|
static RetentionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetentionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RetentionMode GOVERNANCE
public static final RetentionMode COMPLIANCE
public static RetentionMode[] values()
for (RetentionMode c : RetentionMode.values()) System.out.println(c);
public static RetentionMode 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 null