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