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