@Immutable public static enum ResultCodes.GenericResult extends Enum<ResultCodes.GenericResult> implements ResultCodes.GenericCode
| Enum Constant and Description |
|---|
ACK_RESULT |
CANCELED |
CLOSE_QUEUE_RESULT |
CONFIGURE_QUEUE_RESULT |
INVALID_ARGUMENT |
NOT_CONNECTED |
NOT_READY |
NOT_SUPPORTED |
OPEN_QUEUE_RESULT |
REFUSED |
SUCCESS |
TIMEOUT |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
ResultCodes.GenericResult |
getGeneralResult() |
static ResultCodes.GenericResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCodes.GenericResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfisCanceled, isFailure, isInvalidArgument, isNotConnected, isNotReady, isNotSupproted, isRefused, isSuccess, isTimeout, isUnknownpublic static final ResultCodes.GenericResult SUCCESS
public static final ResultCodes.GenericResult UNKNOWN
public static final ResultCodes.GenericResult TIMEOUT
public static final ResultCodes.GenericResult NOT_CONNECTED
public static final ResultCodes.GenericResult CANCELED
public static final ResultCodes.GenericResult NOT_SUPPORTED
public static final ResultCodes.GenericResult REFUSED
public static final ResultCodes.GenericResult INVALID_ARGUMENT
public static final ResultCodes.GenericResult NOT_READY
public static final ResultCodes.GenericResult OPEN_QUEUE_RESULT
public static final ResultCodes.GenericResult CONFIGURE_QUEUE_RESULT
public static final ResultCodes.GenericResult CLOSE_QUEUE_RESULT
public static final ResultCodes.GenericResult ACK_RESULT
public static ResultCodes.GenericResult[] values()
for (ResultCodes.GenericResult c : ResultCodes.GenericResult.values()) System.out.println(c);
public static ResultCodes.GenericResult valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic ResultCodes.GenericResult getGeneralResult()
getGeneralResult in interface ResultCodes.GenericCodeCopyright © 2023 Bloomberg L.P.. All rights reserved.