public enum CancelOnDisconnectOption extends java.lang.Enum<CancelOnDisconnectOption>
| Enum Constant and Description |
|---|
CANCEL_ON_DISCONNECT_ONLY |
CANCEL_ON_DISCONNECT_OR_LOGOUT |
CANCEL_ON_LOGOUT_ONLY |
DO_NOT_CANCEL_ON_DISCONNECT_OR_LOGOUT |
NULL_VAL
To be used to represent not present or null.
|
| Modifier and Type | Method and Description |
|---|---|
static CancelOnDisconnectOption |
get(int value)
Lookup the enum value representing the value.
|
int |
value()
The raw encoded value in the Java type representation.
|
static CancelOnDisconnectOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CancelOnDisconnectOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CancelOnDisconnectOption DO_NOT_CANCEL_ON_DISCONNECT_OR_LOGOUT
public static final CancelOnDisconnectOption CANCEL_ON_DISCONNECT_ONLY
public static final CancelOnDisconnectOption CANCEL_ON_LOGOUT_ONLY
public static final CancelOnDisconnectOption CANCEL_ON_DISCONNECT_OR_LOGOUT
public static final CancelOnDisconnectOption NULL_VAL
public static CancelOnDisconnectOption[] values()
for (CancelOnDisconnectOption c : CancelOnDisconnectOption.values()) System.out.println(c);
public static CancelOnDisconnectOption 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 int value()
public static CancelOnDisconnectOption get(int value)
value - encoded to be looked up.Copyright © 2015-2022 Real Logic Limited. All Rights Reserved.