public enum RetentionType extends Enum<RetentionType>
Enum Constant and Description |
---|
numberOfDays |
unlimited |
userDefined |
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 userDefined
public static final RetentionType unlimited
public static final RetentionType numberOfDays
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 © 2012–2019 "Tigase, Inc.". All rights reserved.