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