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